From 3840ca915b2b73835cf4c7aa3494eb7c299fae84 Mon Sep 17 00:00:00 2001 From: Norby Baruani Date: Thu, 3 Aug 2023 12:16:20 +0200 Subject: [PATCH] debug --- src/TimestreamService.php | 1 + tests/Fixtures/Traits/ConfigurableTrait.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TimestreamService.php b/src/TimestreamService.php index d5b4d92..e8f179d 100644 --- a/src/TimestreamService.php +++ b/src/TimestreamService.php @@ -43,6 +43,7 @@ public function write(TimestreamWriterDto $timestreamReader): \Aws\Result private function ingest(array $payload): \Aws\Result { try { + dd($payload); $result = $this->writer->writeRecords($payload); } catch (TimestreamWriteException $e) { $records = $payload['Records']; diff --git a/tests/Fixtures/Traits/ConfigurableTrait.php b/tests/Fixtures/Traits/ConfigurableTrait.php index 8cec177..35bcd98 100644 --- a/tests/Fixtures/Traits/ConfigurableTrait.php +++ b/tests/Fixtures/Traits/ConfigurableTrait.php @@ -9,7 +9,7 @@ public function getTimestreamConfig(): array return [ 'key' => env('AWS_TIMESTREAM_KEY'), 'secret' => env('AWS_TIMESTREAM_SECRET'), - 'database' => env('AWS_TIMESTREAM_DATABASE'), + 'database' => env('AWS_TIMESTREAM_DATABASE', 'laravel-aws-timestream'), 'tables' => [ 'aliases' => [ 'test' => 'test',