use system uuid
This commit is contained in:
+2
-2
@@ -3,7 +3,7 @@
|
||||
package.path = package.path .. ';<SCRIPT_PATH>/?.lua';
|
||||
|
||||
-- Requires
|
||||
local uuid = require "resty.jit-uuid"
|
||||
local uuid = require "lib.my_uuid"
|
||||
local cjson = require "cjson"
|
||||
local pl = require "pl.pretty"
|
||||
local http = require "resty.http"
|
||||
@@ -57,7 +57,7 @@ if image_origin == "WX" then
|
||||
end
|
||||
|
||||
-- Prepare combined file name and path
|
||||
local combined_uuid = uuid.generate_v4()
|
||||
local combined_uuid = uuid.uuid()
|
||||
local output_filename = combined_uuid .. ".jpeg";
|
||||
local output_filepath = file_dir .. "/" .. output_filename
|
||||
|
||||
|
||||
Reference in New Issue
Block a user