mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
fix bug
This commit is contained in:
@@ -103,6 +103,7 @@ class Api {
|
||||
|
||||
if (id != null) {
|
||||
data["_id"] = id;
|
||||
data["id"] = id;
|
||||
return await Http.put<NullResponse>(
|
||||
Url.addTask,
|
||||
data,
|
||||
@@ -207,6 +208,7 @@ class Api {
|
||||
|
||||
if (id != null) {
|
||||
data["_id"] = id;
|
||||
data["id"] = id;
|
||||
return await Http.put<NullResponse>(
|
||||
Url.addEnv,
|
||||
data,
|
||||
|
||||
Reference in New Issue
Block a user