Skip to content
This repository has been archived by the owner on Jun 22, 2023. It is now read-only.

Commit

Permalink
chore(auth): fix eslint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristiaanScheermeijer committed Mar 18, 2020
1 parent 42b70e2 commit f7a658e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/auth.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('verifyRequest', function () {
}
})

const signToken = (id, scopes, expiresIn) => jwt.sign({ id, scopes }, process.env.JWT_SECRET, { expiresIn });
const signToken = (id, scopes, expiresIn) => jwt.sign({ id, scopes }, process.env.JWT_SECRET, { expiresIn })

const adminToken = signToken('admin', ['*'], '1d')
const adminTokenExpired = signToken('admin', ['*'], '-1d')
Expand Down

0 comments on commit f7a658e

Please sign in to comment.