feat(server): search user in workspace (#9870)

This commit is contained in:
forehalo
2025-01-23 08:09:16 +00:00
parent 2088b760bf
commit 85434fe309
4 changed files with 57 additions and 16 deletions

View File

@@ -250,6 +250,13 @@ export const USER_FRIENDLY_ERRORS = {
message: 'Resource not found.',
},
// Input errors
query_too_long: {
type: 'invalid_input',
args: { max: 'number' },
message: ({ max }) => `Query is too long, max length is ${max}.`,
},
// User Errors
user_not_found: {
type: 'resource_not_found',