Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
jmrl23 committed Sep 5, 2024
2 parents 48ff8c0 + df962c0 commit a6c401a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/auth/authService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export class AuthService {
const expires = new Date(info.expires);
const now = new Date();

if (now <= expires) {
if (now >= expires) {
throw new Unauthorized('API key expired');
}
}
Expand Down

0 comments on commit a6c401a

Please sign in to comment.