shuttlepro-shared 1.3.20 → 1.3.21
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.
|
@@ -194,7 +194,8 @@ const findUserWorkspaces = async (userId) => {
|
|
|
194
194
|
.select("userId roleId workspaceId")
|
|
195
195
|
.populate({
|
|
196
196
|
path: "roleId",
|
|
197
|
-
select:
|
|
197
|
+
select:
|
|
198
|
+
"id name userId userShift permissionId modulePermissions allowedModules",
|
|
198
199
|
populate: [{ path: "permissionId", select: "id name" }],
|
|
199
200
|
})
|
|
200
201
|
.populate({
|
package/models/Workspace.js
CHANGED