Skip to content

Commit

Permalink
fix: fix eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
zheyu1991 authored Aug 26, 2024
1 parent 13aa189 commit 1b16dc4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/assertions.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ const oidc = {
accessToken = crypto.randomBytes(15).toString('hex'),
) => {
let sub
if(nric.startsWith('Y')){
sub = `s=${nric},fid='G730Z-H5P96',coi='DE',u=${uuid}`
}else{
if (nric.startsWith('Y')) {
sub = `s=${nric},fid='G730Z-H5P96',coi='DE',u=${uuid}`
} else {
sub = `s=${nric},u=${uuid}`
}
const accessTokenHash = hashToken(accessToken)
Expand Down

0 comments on commit 1b16dc4

Please sign in to comment.