refactor: convert Komga test connection to Server Action

- Add testKomgaConnection to config.ts
- Update KomgaSettings to use Server Action
- Remove api/komga/test route
This commit is contained in:
2026-02-28 11:09:48 +01:00
parent b40f59bec6
commit eec51b7ef8
4 changed files with 35 additions and 53 deletions

View File

@@ -13,6 +13,7 @@
| `PUT /api/preferences` | `updatePreferences()` | ✅ Done |
| `POST /api/komga/libraries/[libraryId]/scan` | `scanLibrary()` | ✅ Done |
| `POST /api/komga/config` | `saveKomgaConfig()` | ✅ Done |
| `POST /api/komga/test` | `testKomgaConnection()` | ✅ Done |
| `PUT /api/user/password` | `changePassword()` | ✅ Done |
| `POST /api/auth/register` | `registerUser()` | ✅ Done |
| `PATCH /api/admin/users/[userId]` | `updateUserRoles()` | ✅ Done |