fix upload request issue (#22)

This commit is contained in:
木逸辰
2021-09-14 01:33:20 +08:00
committed by GitHub
parent 4d5c3693de
commit f730881fed
+1 -3
View File
@@ -66,9 +66,7 @@ while true do
headers = {
["Content-Type"] = "application/json"
},
body = {
cjson.encode({task_type = 1, data = files})
},
body = cjson.encode({task_type = 1, data = files}),
}
)
if 201 ~= res.status then