mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
refactor(server): update asset endpoint (#3973)
* refactor(server): update asset * chore: open api
This commit is contained in:
parent
26bc889f8d
commit
454737ca79
27 changed files with 237 additions and 184 deletions
5
server/test/fixtures/error.stub.ts
vendored
5
server/test/fixtures/error.stub.ts
vendored
|
|
@ -24,6 +24,11 @@ export const errorStub = {
|
|||
statusCode: 400,
|
||||
message: expect.any(Array),
|
||||
},
|
||||
noPermission: {
|
||||
error: 'Bad Request',
|
||||
statusCode: 400,
|
||||
message: expect.stringContaining('Not found or no'),
|
||||
},
|
||||
incorrectLogin: {
|
||||
error: 'Unauthorized',
|
||||
statusCode: 401,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue