|
@@ -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"`
|