From 38fc4ceef602c413865a8376f9cba6cafc86eb5a Mon Sep 17 00:00:00 2001 From: titanism <101466223+titanism@users.noreply.github.com> Date: Wed, 17 Jul 2024 16:53:22 -0500 Subject: [PATCH] fix: delete event should return 200 not 207 --- routes/calendar/calendar/delete.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/routes/calendar/calendar/delete.js b/routes/calendar/calendar/delete.js index d451da2..5ae0dfd 100644 --- a/routes/calendar/calendar/delete.js +++ b/routes/calendar/calendar/delete.js @@ -32,6 +32,9 @@ module.exports = function (options) { calendarId: ctx.state.params.calendarId, user: ctx.state.user }); + + ctx.status = 200; + ctx.body = ''; }; return {