refactor(server): update asset endpoint (#3973)

* refactor(server): update asset

* chore: open api
This commit is contained in:
Jason Rasmussen 2023-09-04 22:25:31 -04:00 committed by GitHub
parent 26bc889f8d
commit 454737ca79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 237 additions and 184 deletions

View file

@ -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,