@xuda.io/notification_module 1.1.45 → 1.1.47
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.js +5 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -422,6 +422,11 @@ exports.get_notifications = async function (req) {
|
|
|
422
422
|
try {
|
|
423
423
|
var ret = await db_module.find_couch_query("xuda_notification", opt);
|
|
424
424
|
|
|
425
|
+
if (ret.docs) {
|
|
426
|
+
for await (let doc of ret.docs) {
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
425
430
|
return {
|
|
426
431
|
code: 1,
|
|
427
432
|
data: ret,
|