test(server): update page default role with non-exists workspace (#10012)
This commit is contained in:
@@ -197,7 +197,7 @@ class WorkspacePermissionNotFoundDataType {
|
||||
|
||||
export class WorkspacePermissionNotFound extends UserFriendlyError {
|
||||
constructor(args: WorkspacePermissionNotFoundDataType, message?: string | ((args: WorkspacePermissionNotFoundDataType) => string)) {
|
||||
super('internal_server_error', 'workspace_permission_not_found', message, args);
|
||||
super('resource_not_found', 'workspace_permission_not_found', message, args);
|
||||
}
|
||||
}
|
||||
@ObjectType()
|
||||
|
||||
Reference in New Issue
Block a user