@xuda.io/notification_module 1.1.89 → 1.1.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.mjs +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -111,6 +111,7 @@ export const submit_notification = async (req, _ch = global[`_notification_modul
|
|
|
111
111
|
|
|
112
112
|
for await (let uid of uid_arr) {
|
|
113
113
|
for await (let delivery_method_item of delivery_method) {
|
|
114
|
+
let obj = {};
|
|
114
115
|
let account_ret;
|
|
115
116
|
if (!system) {
|
|
116
117
|
account_ret = await db_module.get_couch_doc('xuda_accounts', uid);
|
|
@@ -120,7 +121,7 @@ export const submit_notification = async (req, _ch = global[`_notification_modul
|
|
|
120
121
|
}
|
|
121
122
|
send_result[uid] = true;
|
|
122
123
|
const uuid = await _common.xuda_get_uuid('notification');
|
|
123
|
-
|
|
124
|
+
obj = {
|
|
124
125
|
_id: uuid,
|
|
125
126
|
docType: 'notification',
|
|
126
127
|
type,
|