alroyso 1 éve
szülő
commit
beb6ea2645
1 módosított fájl, 2 hozzáadás és 2 törlés
  1. 2 2
      lib/app/controller/core.dart

+ 2 - 2
lib/app/controller/core.dart

@@ -88,8 +88,8 @@ class CoreController extends GetxController {
   }
   }
 
 
   Future<void> changeConfig(String configPath) async{
   Future<void> changeConfig(String configPath) async{
-    await dio.put('/configs', queryParameters: {"force": false}, data: {"path": config});
-}
+    await dio.put('/configs', data: {"path": configPath});
+  }
 
 
   // type updateConfigRequest struct {
   // type updateConfigRequest struct {
   // 	Path    string `json:"path"`
   // 	Path    string `json:"path"`