File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff 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 {
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments