diff --git a/back/services/notify.ts b/back/services/notify.ts index 1de7f63e..e568bf5f 100644 --- a/back/services/notify.ts +++ b/back/services/notify.ts @@ -634,7 +634,7 @@ export default class NotificationService { json: data, headers, }); - if (res.body === 'success') { + if (res.statusCode === 200) { return true; } else { throw new Error(res.body);