Skip to content
Snippets Groups Projects
Commit 928c51ba authored by syuilo's avatar syuilo
Browse files

refactor(backend): fix type

parent ea8a94e6
No related branches found
No related tags found
No related merge requests found
...@@ -10,7 +10,7 @@ export class AuthenticationError extends Error { ...@@ -10,7 +10,7 @@ export class AuthenticationError extends Error {
} }
} }
export default async (token: string): Promise<[User | null | undefined, App | null | undefined]> => { export default async (token: string | null): Promise<[User | null | undefined, AccessToken | null | undefined]> => {
if (token == null) { if (token == null) {
return [null, null]; return [null, null];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment