fix uuid calling
This commit is contained in:
@@ -44,7 +44,7 @@ local function read_form_file()
|
||||
local val = res[2]
|
||||
if key == "Content-Type" then
|
||||
local ext = ngx.re.match(val, [[(\w+)\/(\w+)]], "jo")[2]
|
||||
file_name = uuid() .. "." .. ext
|
||||
file_name = uuid.uuid() .. "." .. ext
|
||||
end
|
||||
|
||||
if file_name then
|
||||
|
||||
Reference in New Issue
Block a user