@@ -376,7 +376,7 @@ export const resolve = async <T>(options: ApiRequestOptions, resolver?: T | Reso
376
376
};
377
377
378
378
export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptions): Promise<Headers> => {
379
- const [token, username, password, additionalHeaders] = Promise.all([
379
+ const [token, username, password, additionalHeaders] = await Promise.all([
380
380
resolve(options, config.TOKEN),
381
381
resolve(options, config.USERNAME),
382
382
resolve(options, config.PASSWORD),
@@ -3471,7 +3471,7 @@ export const resolve = async <T>(options: ApiRequestOptions, resolver?: T | Reso
3471
3471
};
3472
3472
3473
3473
export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptions): Promise<Headers> => {
3474
- const [token, username, password, additionalHeaders] = Promise.all([
3474
+ const [token, username, password, additionalHeaders] = await Promise.all([
3475
3475
resolve(options, config.TOKEN),
3476
3476
resolve(options, config.USERNAME),
3477
3477
resolve(options, config.PASSWORD),
0 commit comments