-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
the function is supposed to return a
): Promise<OAuthQueryResult> {which is
export type OAuthQueryResult = {
customToken: string;
userId: string;
};and actually returns a string:
.then((response) => JSON.parse(response.data)["access_token"]);so it should be
.then((response) => ({accessToken: JSON.parse(response.data)["access_token"], userId: query.userId}))| .then((response) => JSON.parse(response.data)["access_token"]); |
alexcastillo
Metadata
Metadata
Assignees
Labels
No labels