mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
Updated test snapshots
This commit is contained in:
parent
a1ca40d343
commit
0f343de19c
@ -376,7 +376,7 @@ export const resolve = async <T>(options: ApiRequestOptions, resolver?: T | Reso
|
||||
};
|
||||
|
||||
export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptions): Promise<Headers> => {
|
||||
const [token, username, password, additionalHeaders] = Promise.all([
|
||||
const [token, username, password, additionalHeaders] = await Promise.all([
|
||||
resolve(options, config.TOKEN),
|
||||
resolve(options, config.USERNAME),
|
||||
resolve(options, config.PASSWORD),
|
||||
@ -3471,7 +3471,7 @@ export const resolve = async <T>(options: ApiRequestOptions, resolver?: T | Reso
|
||||
};
|
||||
|
||||
export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptions): Promise<Headers> => {
|
||||
const [token, username, password, additionalHeaders] = Promise.all([
|
||||
const [token, username, password, additionalHeaders] = await Promise.all([
|
||||
resolve(options, config.TOKEN),
|
||||
resolve(options, config.USERNAME),
|
||||
resolve(options, config.PASSWORD),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user