rerobe-js-orm 2.6.91 → 2.6.92
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/lib/models/ChatRoom.js
CHANGED
|
@@ -111,6 +111,7 @@ class ChatRoom extends Base_1.default {
|
|
|
111
111
|
return result;
|
|
112
112
|
}, []);
|
|
113
113
|
const stagedObj = {
|
|
114
|
+
id: this.utilities.sanitizeString(this.documentId),
|
|
114
115
|
documentId: this.utilities.sanitizeString(this.documentId),
|
|
115
116
|
createdAtTimestamp: this.utilities.sanitizeMillisTimeStamp(this.createdAtTimestamp),
|
|
116
117
|
type: this.utilities.sanitizeString(this.type),
|
|
@@ -183,6 +183,7 @@ class ProductCollection extends Base_1.default {
|
|
|
183
183
|
}
|
|
184
184
|
toObjForTypesense() {
|
|
185
185
|
const stagedObj = {
|
|
186
|
+
id: this.utilities.sanitizeString(this.documentId),
|
|
186
187
|
documentId: this.utilities.sanitizeString(this.documentId),
|
|
187
188
|
merchantId: this.utilities.sanitizeString(this.merchantId),
|
|
188
189
|
createdAtTimestamp: this.utilities.sanitizeMillisTimeStamp(this.createdAtTimestamp),
|