1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-11 03:34:35 +00:00

chore: Merge branch 'main' into issue-139

This commit is contained in:
Saad Jutt
2022-07-04 23:59:51 +05:00
20 changed files with 1081 additions and 993 deletions

View File

@@ -47,7 +47,7 @@ export const authenticateAccessToken: RequestHandler = async (
req,
res,
nextFunction,
process.env.ACCESS_TOKEN_SECRET as string,
process.secrets.ACCESS_TOKEN_SECRET,
'accessToken'
)
}
@@ -57,7 +57,7 @@ export const authenticateRefreshToken: RequestHandler = (req, res, next) => {
req,
res,
next,
process.env.REFRESH_TOKEN_SECRET as string,
process.secrets.REFRESH_TOKEN_SECRET,
'refreshToken'
)
}