We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17b78a8 commit 4f52486Copy full SHA for 4f52486
src/Requests/Generator.php
@@ -47,7 +47,10 @@ public function sign(Request $request) : Request
47
$key = $this->configuration->getSigningKey();
48
49
$request = $request->withHeader('X-SIGNED-ID', (string) Uuid::uuid4());
50
- $request = $request->withHeader('X-SIGNED-TIMESTAMP', (string) Carbon::now());
+ $request = $request->withHeader(
51
+ 'X-SIGNED-TIMESTAMP',
52
+ Carbon::now()->format('Y-m-d H:i:s')
53
+ );
54
55
$signature = new Signature(new Payload($request), $algorithm, $key);
56
0 commit comments