alroyso 1 tahun lalu
induk
melakukan
beb6ea2645
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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{
-    await dio.put('/configs', queryParameters: {"force": false}, data: {"path": config});
-}
+    await dio.put('/configs', data: {"path": configPath});
+  }
 
   // type updateConfigRequest struct {
   // 	Path    string `json:"path"`