feat(server): ProjectCollaborator.workspaceRole (#4598)
This commit is contained in:
committed by
GitHub
parent
eef0a37042
commit
9a18a6e1c2
@@ -103,6 +103,11 @@ export = !FF_WORKSPACES_MODULE_ENABLED
|
||||
throw new WorkspacesModuleDisabledError()
|
||||
}
|
||||
},
|
||||
ProjectCollaborator: {
|
||||
workspaceRole: async () => {
|
||||
throw new WorkspacesModuleDisabledError()
|
||||
}
|
||||
},
|
||||
Project: {
|
||||
workspace: async () => {
|
||||
// Return type is always workspace or null, to make the FE implementation easier we force return null in this case
|
||||
|
||||
Reference in New Issue
Block a user