diff --git a/backend/src/routes/v2/model/webhook/deleteWebhook.ts b/backend/src/routes/v2/model/webhook/deleteWebhook.ts index 9c060c5f0..8430174e2 100644 --- a/backend/src/routes/v2/model/webhook/deleteWebhook.ts +++ b/backend/src/routes/v2/model/webhook/deleteWebhook.ts @@ -15,7 +15,7 @@ export const deleteWebhookSchema = z.object({ registerPath({ method: 'delete', - path: '/api/v2/model/{modelId}/webhooks/{webhookId}', + path: '/api/v2/model/{modelId}/webhook/{webhookId}', tags: ['webhook'], description: 'Delete a file from a model.', schema: deleteWebhookSchema, diff --git a/backend/src/routes/v2/model/webhook/putWebhook.ts b/backend/src/routes/v2/model/webhook/putWebhook.ts index 913308c53..95550563b 100644 --- a/backend/src/routes/v2/model/webhook/putWebhook.ts +++ b/backend/src/routes/v2/model/webhook/putWebhook.ts @@ -26,7 +26,7 @@ export const putWebhookSchema = z.object({ registerPath({ method: 'put', - path: '/api/v2/model/{modelId}/webhooks/{webhookId}', + path: '/api/v2/model/{modelId}/webhook/{webhookId}', tags: ['webhook'], description: 'Update a webhook instance.', schema: putWebhookSchema,