@xuda.io/account_module 1.2.891 → 1.2.892
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
|
@@ -1787,7 +1787,7 @@ export const pin_contact = async function (req) {
|
|
|
1787
1787
|
return contact_ret;
|
|
1788
1788
|
}
|
|
1789
1789
|
var contact_doc = contact_ret.data;
|
|
1790
|
-
contact_doc.
|
|
1790
|
+
contact_doc.pinned = true;
|
|
1791
1791
|
|
|
1792
1792
|
const contact_save_ret = await db_module.save_couch_doc('xuda_contacts', contact_doc);
|
|
1793
1793
|
|
|
@@ -1808,7 +1808,7 @@ export const unpin_contact = async function (req) {
|
|
|
1808
1808
|
return contact_ret;
|
|
1809
1809
|
}
|
|
1810
1810
|
var contact_doc = contact_ret.data;
|
|
1811
|
-
contact_doc.
|
|
1811
|
+
contact_doc.pinned = false;
|
|
1812
1812
|
|
|
1813
1813
|
const contact_save_ret = await db_module.save_couch_doc('xuda_contacts', contact_doc);
|
|
1814
1814
|
|