mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-04 15:53:51 +09:00
fix(users/show): ユーザーが見つからなかった場合に404ステータスコードを返す (#10344)
* fix(users/show): ユーザーが見つからなかった場合に404ステータスコードを返す * test(users/show): ステータスコードの期待値を修正
This commit is contained in:
@ -48,6 +48,7 @@ export const meta = {
|
||||
message: 'No such user.',
|
||||
code: 'NO_SUCH_USER',
|
||||
id: '4362f8dc-731f-4ad8-a694-be5a88922a24',
|
||||
httpStatusCode: 404,
|
||||
},
|
||||
},
|
||||
} as const;
|
||||
|
Reference in New Issue
Block a user