Skip to content

Commit 762d36c

Browse files
author
Hidetaka Okamoto
committed
fix: log delete api log
1 parent 2c4d7b4 commit 762d36c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/share/api/api.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ export class APIClientService {
8787

8888
protected async _delete(path: string, config?: AxiosRequestConfig) {
8989
const url = pathJoin(this.endpoint, path)
90-
if (this.debugMode) console.log({url, path, config})
90+
this._recordAxiosRequest(url, path, config)
9191
const result = await axios.delete(url, config)
92-
if (this.debugMode) console.log({result})
92+
this._recordAxiosResponse(result)
9393
return result.data
9494
}
9595

0 commit comments

Comments
 (0)