update task struct

This commit is contained in:
moicen
2022-02-11 22:16:59 +08:00
committed by 阿男
parent b5dda71360
commit 6de6bc11ca
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ while true do
ngx.log(ngx.INFO, 'Authorization -> ', authHeader)
ngx.log(ngx.INFO, 'HtySudoerToken -> ', sudoerToken)
local body_text = cjson.encode({ task_type = TaskTypes.UPLOAD_PICTURE, data = { images = files } })
local body_text = cjson.encode({ task_type = TaskTypes.UPLOAD_PICTURE, payload = { images = files } })
ngx.log(ngx.INFO, 'UPLOAD_PICTURE *body_text* ->', body_text)
local res, err = httpc:request_uri(