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
@@ -23,7 +23,7 @@ local function create_task()
ngx.log(ngx.INFO, 'HtySudoerToken -> ', sudoerToken)
ngx.log(ngx.INFO, 'HtyHost -> ', htyHost)
local body_text = cjson.encode({ task_type = TaskTypes.CONVERT_AUDIO_FILE, data = { media_id = media_id } })
local body_text = cjson.encode({ task_type = TaskTypes.CONVERT_AUDIO_FILE, payload = { media_id = media_id } })
ngx.log(ngx.INFO, 'AUDIO_CONVERT *body_text* ->', body_text)
local res, err = httpc:request_uri(