From cfe242c985094c336da6b2534ccc7c615cd196d1 Mon Sep 17 00:00:00 2001 From: Fernando Rojo Date: Mon, 5 Oct 2020 17:58:42 +0000 Subject: [PATCH] allow async token type --- src/templates/core/OpenAPI.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/core/OpenAPI.hbs b/src/templates/core/OpenAPI.hbs index 3974025f..72fecc8c 100644 --- a/src/templates/core/OpenAPI.hbs +++ b/src/templates/core/OpenAPI.hbs @@ -4,7 +4,7 @@ interface Config { BASE: string; VERSION: string; WITH_CREDENTIALS: boolean; - TOKEN: string; + TOKEN: string | () => Promise; } export const OpenAPI: Config = {