ensure internal tableId always attached to user objects
This commit is contained in:
parent
ddc2124ae8
commit
54749d2668
|
@ -33,6 +33,7 @@ exports.fetchMetadata = async function (ctx) {
|
||||||
users.push({
|
users.push({
|
||||||
...user,
|
...user,
|
||||||
...info,
|
...info,
|
||||||
|
tableId: InternalTables.USER_METADATA,
|
||||||
// make sure the ID is always a local ID, not a global one
|
// make sure the ID is always a local ID, not a global one
|
||||||
_id: generateUserMetadataID(user._id),
|
_id: generateUserMetadataID(user._id),
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue