test(server): update page default role with non-exists workspace (#10012)

This commit is contained in:
Brooooooklyn
2025-02-07 08:27:58 +00:00
parent f13aac7331
commit 9262cb120c
3 changed files with 32 additions and 2 deletions

View File

@@ -352,7 +352,7 @@ export const USER_FRIENDLY_ERRORS = {
// Workspace & Userspace & Doc & Sync errors
workspace_permission_not_found: {
type: 'internal_server_error',
type: 'resource_not_found',
args: { spaceId: 'string' },
message: ({ spaceId }) => `Space ${spaceId} permission not found.`,
},