瀏覽代碼

Fix HealthCheckController

GitOrigin-RevId: ac5dee607a67c43a9e49f8faf292ef83e9d6d906
Andrew Rumble 1 年之前
父節點
當前提交
c0c065e477
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      services/notifications/app/js/HealthCheckController.js

+ 1 - 1
services/notifications/app/js/HealthCheckController.js

@@ -87,7 +87,7 @@ async function deleteNotification(userId, notificationId, notificationKey) {
     await fetchNothing(deleteByKeyUrl, {
     await fetchNothing(deleteByKeyUrl, {
       signal: AbortSignal.timeout(5000),
       signal: AbortSignal.timeout(5000),
       method: 'DELETE',
       method: 'DELETE',
-      body: {
+      json: {
         key: notificationKey,
         key: notificationKey,
       },
       },
     })
     })