Skip to content

Commit fbb984f

Browse files
debug
1 parent 3751fc2 commit fbb984f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

backend/typescript/graphql/types/authType.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const authType = gql`
2525
extend type Query {
2626
login(email: String!, password: String!): loginOK!
2727
isAuthorizedByRole(accessToken: String!, roles: [Role!]!): Boolean!
28+
isAuthorizedReviewer(accessToken: String!, applicantRecordId: String!): Boolean!
2829
}
2930
3031
extend type Mutation {

backend/typescript/services/implementations/authService.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ class AuthService implements IAuthService {
4949
accessToken: googleUser.idToken,
5050
refreshToken: googleUser.refreshToken,
5151
};
52+
53+
Logger.info(`${token.accessToken.toString()}`)
54+
5255
// If user already has a login with this email, just return the token
5356
try {
5457
// Note: an error message will be logged from UserService if this lookup fails.

0 commit comments

Comments
 (0)