Skip to content

Commit 78b3325

Browse files
authored
fix(api): make name and status optional in users.autocomplete response schema
1 parent 727db76 commit 78b3325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/meteor/app/api/server/v1/users.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ const usersEndpoints = API.v1
914914
avatarETag: { type: 'string' },
915915
freeSwitchExtension: { type: 'string' },
916916
},
917-
required: ['_id', 'name', 'username', 'status'],
917+
required: ['_id', 'username'],
918918
additionalProperties: false,
919919
},
920920
},

0 commit comments

Comments
 (0)