Skip to content

Commit

Permalink
[INJIMOB-2415] fix syntax error in gaurd condition
Browse files Browse the repository at this point in the history
Signed-off-by: KiruthikaJeyashankar <[email protected]>
  • Loading branch information
KiruthikaJeyashankar committed Jan 6, 2025
1 parent 82740bc commit ee6907d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion machines/Issuers/IssuersGuards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const IssuersGuards = () => {
return (
!!event.data &&
typeof event.data.toString === 'function' &&
event.data.toString()(OIDCErrors.OIDC_CONFIG_ERROR_PREFIX)
event.data.toString().includes(OIDCErrors.OIDC_CONFIG_ERROR_PREFIX)
);
},
isGrantTypeNotSupportedError: (_: any, event: any) => {
Expand Down

0 comments on commit ee6907d

Please sign in to comment.