From b8efc4f8af2a7fdbf954ccc8f23ff33e0bc89f8b Mon Sep 17 00:00:00 2001 From: MicroMilo Date: Thu, 1 Jun 2023 20:40:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../uniCloud-aliyun/cloudfunctions/uni-cloud-push/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpha/admin/uniCloud-aliyun/cloudfunctions/uni-cloud-push/index.js b/alpha/admin/uniCloud-aliyun/cloudfunctions/uni-cloud-push/index.js index 5ba19b3..0f1d123 100644 --- a/alpha/admin/uniCloud-aliyun/cloudfunctions/uni-cloud-push/index.js +++ b/alpha/admin/uniCloud-aliyun/cloudfunctions/uni-cloud-push/index.js @@ -34,7 +34,7 @@ exports.main = async (event, context) => { "request_id": event.request_id, "badge": event.badge }); - await regsTable.doc(arr[i].owner_id).update({ + await regsTable.doc(arr[i]["_id"]).update({ notified: true }) result.push(tmp) -- GitLab