We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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}))
neurosity-sdk-js/src/api/https/getOAuthToken.ts
Line 28 in 68a33cf
The text was updated successfully, but these errors were encountered:
No branches or pull requests
the function is supposed to return a
which is
and actually returns a string:
so it should be
neurosity-sdk-js/src/api/https/getOAuthToken.ts
Line 28 in 68a33cf
The text was updated successfully, but these errors were encountered: