fix: passando get params mesmo no delete
This commit is contained in:
parent
85e0dd6e6a
commit
c2feb1c8e1
1 changed files with 2 additions and 1 deletions
|
@ -219,10 +219,11 @@ export class LhispOauthClient<iAccessToken extends AccessToken = AccessToken> {
|
|||
});
|
||||
}
|
||||
|
||||
async delete<ResponseType>({ path, contentType = ContentType.APPLICATION_JSON }: ExecutarRequestParams) {
|
||||
async delete<ResponseType>({ path, params, contentType = ContentType.APPLICATION_JSON }: ExecutarRequestParams) {
|
||||
return this.executarRequest<ResponseType>({
|
||||
method: "DELETE",
|
||||
path,
|
||||
params,
|
||||
contentType,
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue