refacto(db): remove old setconfig
This commit is contained in:
@@ -6,7 +6,6 @@ import { useRouter } from "next/navigation";
|
||||
import { storageService } from "@/lib/services/storage.service";
|
||||
import { AuthError } from "@/types/auth";
|
||||
import { useToast } from "@/components/ui/use-toast";
|
||||
import { komgaConfigService } from "@/lib/services/komga-config.service";
|
||||
|
||||
interface ErrorMessage {
|
||||
message: string;
|
||||
@@ -147,8 +146,6 @@ export function ClientSettings({ initialConfig }: ClientSettingsProps) {
|
||||
},
|
||||
};
|
||||
|
||||
komgaConfigService.setConfig(komgaConfig, true);
|
||||
|
||||
fetch("/api/komga/config", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user