fix upload request issue (#22)
This commit is contained in:
@@ -66,9 +66,7 @@ while true do
|
|||||||
headers = {
|
headers = {
|
||||||
["Content-Type"] = "application/json"
|
["Content-Type"] = "application/json"
|
||||||
},
|
},
|
||||||
body = {
|
body = cjson.encode({task_type = 1, data = files}),
|
||||||
cjson.encode({task_type = 1, data = files})
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
if 201 ~= res.status then
|
if 201 ~= res.status then
|
||||||
|
|||||||
Reference in New Issue
Block a user