From c2feb1c8e17a36f2c660d77c6716e077197a658b Mon Sep 17 00:00:00 2001 From: Leandro Costa Date: Fri, 10 Nov 2023 09:02:36 -0300 Subject: [PATCH] fix: passando get params mesmo no delete --- src/lhisp-oauth-client.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lhisp-oauth-client.ts b/src/lhisp-oauth-client.ts index 32a9f44..c250258 100644 --- a/src/lhisp-oauth-client.ts +++ b/src/lhisp-oauth-client.ts @@ -219,10 +219,11 @@ export class LhispOauthClient { }); } - async delete({ path, contentType = ContentType.APPLICATION_JSON }: ExecutarRequestParams) { + async delete({ path, params, contentType = ContentType.APPLICATION_JSON }: ExecutarRequestParams) { return this.executarRequest({ method: "DELETE", path, + params, contentType, }); }