fix upload request issue (#22)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user