Fix typo in webhook delete response (#13409)
It's a webhook, not a schedule. Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
1 parent
f9359aaa7b
commit
3fa710fc1c
1 file changed
+1
-1
@@ -39,7 +39,7 @@ export async function deleteHandler(req: NextApiRequest) {
|
||||
const { prisma, query } = req;
|
||||
const { id } = schemaQueryIdAsString.parse(query);
|
||||
await prisma.webhook.delete({ where: { id } });
|
||||
return { message: `Schedule with id: ${id} deleted successfully` };
|
||||
return { message: `Webhook with id: ${id} deleted successfully` };
|
||||
}
|
||||
|
||||
export default defaultResponder(deleteHandler);
|
||||
Reference in new issue
Block a user