低级笔误

This commit is contained in:
Xu Chang 2023-01-30 21:28:44 +08:00
parent 0c575966ce
commit 25a3294bb6
2 changed files with 4 additions and 4 deletions

View File

@ -124,7 +124,7 @@ function setUserSubscribed(openId, eventKey, context) {
if (!wechatUser.subscribed) {
Object.assign(data, {
subscribed: true,
subscribeAt: now,
subscribedAt: now,
});
}
return [4 /*yield*/, context.operate('wechatUser', {
@ -138,7 +138,7 @@ function setUserSubscribed(openId, eventKey, context) {
case 2:
Object.assign(data, {
subscribed: true,
subscribeAt: now,
subscribedAt: now,
applicationId: applicationId,
openId: openId,
});

View File

@ -137,7 +137,7 @@ async function setUserSubscribed(openId: string, eventKey: string, context: BRC)
if (!wechatUser.subscribed) {
Object.assign(data, {
subscribed: true,
subscribeAt: now,
subscribedAt: now,
});
}
@ -152,7 +152,7 @@ async function setUserSubscribed(openId: string, eventKey: string, context: BRC)
Object.assign(data, {
subscribed: true,
subscribeAt: now,
subscribedAt: now,
applicationId,
openId,
});