@xuda.io/account_module 1.2.802 → 1.2.804
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1548,7 +1548,7 @@ export const get_contacts = async function (req) {
|
|
|
1548
1548
|
|
|
1549
1549
|
switch (filter_type) {
|
|
1550
1550
|
case 'archived': {
|
|
1551
|
-
opt.selector.stat =
|
|
1551
|
+
opt.selector.stat = 5;
|
|
1552
1552
|
break;
|
|
1553
1553
|
}
|
|
1554
1554
|
case 'shared': {
|
|
@@ -1642,7 +1642,7 @@ export const archive_contact = async function (req) {
|
|
|
1642
1642
|
return contact_ret;
|
|
1643
1643
|
}
|
|
1644
1644
|
var contact_doc = contact_ret.data;
|
|
1645
|
-
contact_doc.stat =
|
|
1645
|
+
contact_doc.stat = 5;
|
|
1646
1646
|
contact_doc.stat_ts = Date.now();
|
|
1647
1647
|
contact_doc.stat_reason = 'archived by the user';
|
|
1648
1648
|
|