Skip to content

Commit

Permalink
revert: delete should has body
Browse files Browse the repository at this point in the history
  • Loading branch information
suhaotian committed Mar 25, 2024
1 parent 1bb86fb commit d1b5e87
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion examples/server/src/shared/tsdk-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const hasBodyMethods: { [key: string]: boolean | undefined } = {
post: true,
put: true,
patch: true,
delete: true,
};

export function checkMethodHasBody(method: string) {
Expand Down
1 change: 0 additions & 1 deletion packages/bench/src/shared/tsdk-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const hasBodyMethods: { [key: string]: boolean | undefined } = {
post: true,
put: true,
patch: true,
delete: true,
};

export function checkMethodHasBody(method: string) {
Expand Down
1 change: 0 additions & 1 deletion packages/tsdk/fe-sdk-template/src/shared/tsdk-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const hasBodyMethods: { [key: string]: boolean | undefined } = {
post: true,
put: true,
patch: true,
delete: true,
};

export function checkMethodHasBody(method: string) {
Expand Down

0 comments on commit d1b5e87

Please sign in to comment.