Skip to content

Commit

Permalink
fix: fix a bug which will match incorrect path #115
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Oct 21, 2024
1 parent 554f902 commit 79667a9
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/server/trpc/routers/feed/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export const feedRouter = router({
.meta(
buildFeedOpenapi({
method: 'DELETE',
path: '/{channelId}',
path: '/{channelId}/del',
})
)
.input(
Expand Down
4 changes: 2 additions & 2 deletions src/server/trpc/routers/monitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const monitorRouter = router({
.meta(
buildMonitorOpenapi({
method: 'GET',
path: '/{monitorId}',
path: '/{monitorId}/get',
})
)
.input(
Expand Down Expand Up @@ -169,7 +169,7 @@ export const monitorRouter = router({
.meta(
buildMonitorOpenapi({
method: 'DELETE',
path: '/{monitorId}',
path: '/{monitorId}/del',
})
)
.input(
Expand Down
2 changes: 1 addition & 1 deletion src/server/trpc/routers/survey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export const surveyRouter = router({
.meta(
buildSurveyOpenapi({
method: 'GET',
path: '/{surveyId}',
path: '/{surveyId}/get',
})
)
.input(
Expand Down
2 changes: 1 addition & 1 deletion src/server/trpc/routers/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const workspaceRouter = router({
.meta(
buildWorkspaceOpenapi({
method: 'DELETE',
path: '/{workspaceId}',
path: '/{workspaceId}/del',
})
)
.input(
Expand Down

0 comments on commit 79667a9

Please sign in to comment.