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 5ba19b3402c3b5cbcd574ddd38d8aa2b76e36eeb..0f1d12395cc0747e6e5579684e36ace0eda025cc 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)