FoundKey/packages/backend/src/server/api/endpoints/mute
Johann150 7b8333a21f
server: refactor user getter to throw API error
Instead of throwing an IdentifiableError which then just always gets
converted into an ApiError, the getter can just throw the same ApiError
directly. This makes it more convenient to use and thus more endpoints
have been refactored to use it to reduce code repetition.
2023-04-15 18:56:42 +02:00
..
create.ts server: refactor user getter to throw API error 2023-04-15 18:56:42 +02:00
delete.ts server: refactor user getter to throw API error 2023-04-15 18:56:42 +02:00
list.ts refactor: replace import paths containing ../ in API server 2023-02-19 23:36:15 +01:00