diff --git a/examples/server/src/shared/tsdk-helper.ts b/examples/server/src/shared/tsdk-helper.ts index e1fa9bb..8688dad 100644 --- a/examples/server/src/shared/tsdk-helper.ts +++ b/examples/server/src/shared/tsdk-helper.ts @@ -8,6 +8,7 @@ export const hasBodyMethods: { [key: string]: boolean | undefined } = { post: true, put: true, patch: true, + delete: true, }; export function checkMethodHasBody(method: string) { diff --git a/packages/bench/src/shared/tsdk-helper.ts b/packages/bench/src/shared/tsdk-helper.ts index e1fa9bb..8688dad 100644 --- a/packages/bench/src/shared/tsdk-helper.ts +++ b/packages/bench/src/shared/tsdk-helper.ts @@ -8,6 +8,7 @@ export const hasBodyMethods: { [key: string]: boolean | undefined } = { post: true, put: true, patch: true, + delete: true, }; export function checkMethodHasBody(method: string) { diff --git a/packages/tsdk/fe-sdk-template/src/shared/tsdk-helper.ts b/packages/tsdk/fe-sdk-template/src/shared/tsdk-helper.ts index 0504b0c..6c5573b 100644 --- a/packages/tsdk/fe-sdk-template/src/shared/tsdk-helper.ts +++ b/packages/tsdk/fe-sdk-template/src/shared/tsdk-helper.ts @@ -8,6 +8,7 @@ export const hasBodyMethods: { [key: string]: boolean | undefined } = { post: true, put: true, patch: true, + delete: true, }; export function checkMethodHasBody(method: string) {