Skip to content

Commit a579478

Browse files
committed
[AUTOMATED]: Prettier Code Styling
1 parent cd05f2b commit a579478

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages-exp/auth-exp/src/api/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export async function performApiRequest<T, V>(
6363
const errorMap = { ...SERVER_ERROR_MAP, ...customErrorMap };
6464
try {
6565
let body = {};
66-
const params: { [key: string]: string; } = {
66+
const params: { [key: string]: string } = {
6767
key: auth.config.apiKey
6868
};
6969
if (request) {
@@ -79,7 +79,8 @@ export async function performApiRequest<T, V>(
7979
const queryString = Object.keys(params)
8080
.map(key => {
8181
return `${encodeURIComponent(key)}=${encodeURIComponent(params[key])}`;
82-
}).join('&');
82+
})
83+
.join('&');
8384

8485
const response = await fetch(
8586
`${auth.config.apiScheme}://${auth.config.apiHost}${path}?${queryString}`,

0 commit comments

Comments
 (0)