fix: fix a bug which will match incorrect path #115
This commit is contained in:
parent
554f902584
commit
79667a9644
@ -272,7 +272,7 @@ export const feedRouter = router({
|
||||
.meta(
|
||||
buildFeedOpenapi({
|
||||
method: 'DELETE',
|
||||
path: '/{channelId}',
|
||||
path: '/{channelId}/del',
|
||||
})
|
||||
)
|
||||
.input(
|
||||
|
@ -68,7 +68,7 @@ export const monitorRouter = router({
|
||||
.meta(
|
||||
buildMonitorOpenapi({
|
||||
method: 'GET',
|
||||
path: '/{monitorId}',
|
||||
path: '/{monitorId}/get',
|
||||
})
|
||||
)
|
||||
.input(
|
||||
@ -169,7 +169,7 @@ export const monitorRouter = router({
|
||||
.meta(
|
||||
buildMonitorOpenapi({
|
||||
method: 'DELETE',
|
||||
path: '/{monitorId}',
|
||||
path: '/{monitorId}/del',
|
||||
})
|
||||
)
|
||||
.input(
|
||||
|
@ -51,7 +51,7 @@ export const surveyRouter = router({
|
||||
.meta(
|
||||
buildSurveyOpenapi({
|
||||
method: 'GET',
|
||||
path: '/{surveyId}',
|
||||
path: '/{surveyId}/get',
|
||||
})
|
||||
)
|
||||
.input(
|
||||
|
@ -160,7 +160,7 @@ export const workspaceRouter = router({
|
||||
.meta(
|
||||
buildWorkspaceOpenapi({
|
||||
method: 'DELETE',
|
||||
path: '/{workspaceId}',
|
||||
path: '/{workspaceId}/del',
|
||||
})
|
||||
)
|
||||
.input(
|
||||
|
Loading…
Reference in New Issue
Block a user