Refactor Controllers

SettingsController.cs

SearchController.cs

QueryController.cs

NotificationConnectorController.cs

MetadataFetcherController.cs

MangaConnectorController.cs

FileLibraryController

LibraryConnectors

WorkerController
This commit is contained in:
2025-07-02 19:54:44 +02:00
parent 57bb87120a
commit 91c91e4989
28 changed files with 527 additions and 753 deletions

View File

@ -1,12 +1,12 @@
namespace API.APIEndpointRecords;
public record PushoverRecord(string apptoken, string user)
public record PushoverRecord(string Name, string AppToken, string User)
{
public bool Validate()
{
if (apptoken == string.Empty)
if (AppToken == string.Empty)
return false;
if (user == string.Empty)
if (User == string.Empty)
return false;
return true;
}