feat(infisical-pg): fixed ts issue on passport type change

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:23 +05:30
parent 0be3ad9517
commit 295c1e5d4a
10 changed files with 12 additions and 12 deletions
@@ -114,7 +114,6 @@ export const registerSsoRouter = async (server: FastifyZodProvider) => {
authMethod: AuthMethod.GITLAB,
callbackPort: req.query.state as string
});
console.log({ isUserCompleted, providerAuthToken });
return cb(null, { isUserCompleted, providerAuthToken });
}
@@ -87,7 +87,7 @@ export const registerSignupRouter = async (server: FastifyZodProvider) => {
...req.body,
ip: req.realIp,
userAgent,
authorization: req.headers.authorization
authorization: req.headers.authorization as string
});
res.setCookie("jid", refreshToken, {