Skip to content

Commit ec9e894

Browse files
authored
Merge pull request #12 from molanp/fix/mcsm#90
fix mcsm#90
2 parents 381ec7d + 4fd90c9 commit ec9e894

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

mcsmapi/apis/instance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def update(self, daemonId: str, uuid: str) -> bool:
229229
- bool: 返回操作结果,成功时返回True。
230230
"""
231231
return send(
232-
"GET",
232+
"POST",
233233
f"{ApiPool.PROTECTED_INSTANCE}/asynchronous",
234234
params={"daemonId": daemonId, "uuid": uuid, "task_name": "update"},
235235
)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ requires = ["setuptools", "wheel"]
44

55
[project]
66
name = "mcsmapi"
7-
version = "0.1.5.b2"
7+
version = "0.1.6"
88
description = "Shortcut the pypi package of MCSM./快捷操作MCSM的pypi包"
99
readme = "README.md"
1010
authors = [

0 commit comments

Comments
 (0)