rerobe-js-orm 3.2.7 → 3.2.8
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/User.js +1 -1
- package/package.json +1 -1
package/lib/models/User.js
CHANGED
|
@@ -327,7 +327,7 @@ class User extends Base_1.default {
|
|
|
327
327
|
const createdAtTimestamp = this.utilities.sanitizeMillisTimeStamp(this.createdAtTimestamp);
|
|
328
328
|
const { createdAtHour, createdAtDay, createdAtMonth, createdAtYear } = this.utilities.formatTimestamp(createdAtTimestamp);
|
|
329
329
|
const stagedObj = {
|
|
330
|
-
id: this.utilities.sanitizeString(this.documentId)
|
|
330
|
+
id: `${this.utilities.sanitizeString(this.documentId)}_${this.utilities.sanitizeString(merchantId)}`,
|
|
331
331
|
documentId: this.utilities.sanitizeString(this.documentId),
|
|
332
332
|
userId: this.utilities.sanitizeString(this.uid),
|
|
333
333
|
createdAtTimestamp,
|