Skip to content

Commit

Permalink
I don't know how this compiled before...
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerbutler committed Nov 17, 2020
1 parent 7010184 commit f42e036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routerlicious/packages/services-utils/src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export function validateTokenClaims(
documentId: string,
tenantId: string,
maxTokenLifetimeSec: number,
isTokenExpiryEnabled: boolean): ITokenClaims {
isTokenExpiryEnabled: boolean): ITokenClaims | undefined {
const claims = jwt.decode(token) as ITokenClaims;

if (!claims || claims.documentId !== documentId || claims.tenantId !== tenantId) {
Expand Down

0 comments on commit f42e036

Please sign in to comment.