Skip to content

Commit

Permalink
FIXUP: add Google client config
Browse files Browse the repository at this point in the history
  • Loading branch information
skgndi12 committed Dec 26, 2023
1 parent 1233772 commit 9dc2045
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion api/config/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ google:
auth: https://accounts.google.com/o/oauth2/auth
token: https://oauth2.googleapis.com/token
oauth:
stateExpirationMinute: 10
stateExpirationMinutes: 10

2 changes: 1 addition & 1 deletion api/config/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ google:
auth: https://accounts.google.com/o/oauth2/auth
token: https://oauth2.googleapis.com/token
oauth:
stateExpirationMinute: 10
stateExpirationMinutes: 10

2 changes: 1 addition & 1 deletion api/src/config/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ export interface ConfigGoogleEndpoints {
}

export interface ConfigOauth {
stateExpirationMinute: number;
stateExpirationMinutes: number;
}
3 changes: 1 addition & 2 deletions api/test/config/loader.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('Test config loader', () => {
}
},
oauth: {
stateExpirationMinute: 10
stateExpirationMinutes: 10
}
});
});
Expand Down Expand Up @@ -130,4 +130,3 @@ describe('Test build google client config', () => {
});
});
});

0 comments on commit 9dc2045

Please sign in to comment.