Skip to content

Commit

Permalink
fix: 优化 action 名称问题
Browse files Browse the repository at this point in the history
  • Loading branch information
long-woo committed Aug 26, 2024
1 parent f910527 commit cd549d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/path.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ export const getApiPath = (
// 添加请求方式标识,如 GET,POST 等,防止重名。设置了 operationId,以 operationId 为准
if (
!currentMethod.operationId &&
!/^(get|post|put|delete|options|head|patch)$/i.test(
!/^(get|post|put|delete|options|head|patch)/i.test(
name.slice(0, method.length),
)
) {
Expand Down

0 comments on commit cd549d9

Please sign in to comment.