We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd05f2b commit a579478Copy full SHA for a579478
packages-exp/auth-exp/src/api/index.ts
@@ -63,7 +63,7 @@ export async function performApiRequest<T, V>(
63
const errorMap = { ...SERVER_ERROR_MAP, ...customErrorMap };
64
try {
65
let body = {};
66
- const params: { [key: string]: string; } = {
+ const params: { [key: string]: string } = {
67
key: auth.config.apiKey
68
};
69
if (request) {
@@ -79,7 +79,8 @@ export async function performApiRequest<T, V>(
79
const queryString = Object.keys(params)
80
.map(key => {
81
return `${encodeURIComponent(key)}=${encodeURIComponent(params[key])}`;
82
- }).join('&');
+ })
83
+ .join('&');
84
85
const response = await fetch(
86
`${auth.config.apiScheme}://${auth.config.apiHost}${path}?${queryString}`,
0 commit comments