Skip to content

Commit

Permalink
Merge pull request #78 from openfoodfoundation/fix/77-update-php-doco
Browse files Browse the repository at this point in the history
Updated PHP doco
  • Loading branch information
ok200paul authored Dec 2, 2024
2 parents 5e82ea8 + 0d24630 commit a2f7794
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/scribe.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@
$now = new \DateTimeImmutable();
$token = $tokenBuilder
->issuedBy(ISSUING_BODY)
->issuedAt(now())
->expiresAt(now()->addMinute(1))
->issuedAt(now()->toDateTimeImmutable())
->expiresAt(now()->addSeconds(30)->toDateTimeImmutable())
->getToken($algorithm, $signingKey);
$jwt = $token->toString();
Expand Down

0 comments on commit a2f7794

Please sign in to comment.