From 28ae4512f4ccda171e18a31096ab133da0d6a2ad Mon Sep 17 00:00:00 2001 From: Leandro Costa Date: Mon, 27 Nov 2023 19:51:14 -0300 Subject: [PATCH] fix: make authData optional --- src/lhisp-oauth-client.t.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lhisp-oauth-client.t.ts b/src/lhisp-oauth-client.t.ts index 0fdaf45..38e5dfc 100644 --- a/src/lhisp-oauth-client.t.ts +++ b/src/lhisp-oauth-client.t.ts @@ -18,7 +18,7 @@ export interface LhispOauthClientConstructorParams { authHeaders?: Headers; grantType?: string; authContentType?: ContentType; - authData: Record; + authData?: Record; sendAuthCredentialsOnRequestBody?: boolean; formatAccessToken?: (accessToken?: AccessToken) => string; debug?: boolean;