Skip to content

Commit bae5934

Browse files
committed
feat: add debug to config
1 parent b7c8469 commit bae5934

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

config/influxdb.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
'org' => env('INFLUXDB_ORG'),
3434
'verifySSL' => env('INFLUXDB_VERIFY_SSL', false),
3535
'precision' => env('INFLUXDB_PRECISION', 'ns'),
36+
'debug' => env('INFLUXDB_DEBUG', false),
3637
],
3738

3839
],

src/InfluxDBFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public function make(array $config): Client
2323
'org' => $config['org'],
2424
'verifySSL' => $config['verifySSL'],
2525
'precision' => $config['precision'],
26+
'debug' => $config['debug'] ?? false,
2627
]);
2728
}
2829
}

0 commit comments

Comments
 (0)