refacto: error and types
This commit is contained in:
1
src/app/api/komga/cache/clear/route.ts
vendored
1
src/app/api/komga/cache/clear/route.ts
vendored
@@ -14,6 +14,7 @@ export async function POST() {
|
||||
{
|
||||
error: {
|
||||
code: ERROR_CODES.CACHE.CLEAR_ERROR,
|
||||
name: "Cache clear error",
|
||||
message: getErrorMessage(ERROR_CODES.CACHE.CLEAR_ERROR),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user