mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 08:13:23 +00:00
ENH - expand CityMarkt photo workflow
This commit is contained in:
@@ -97,9 +97,12 @@ local function load_images(listing_id)
|
||||
end
|
||||
|
||||
local function validate_images(source, imei, images)
|
||||
if type(images) ~= "table" or #images < 1 or #images > Config.Marketplace.MaxImages then
|
||||
if type(images) ~= "table" or #images > Config.Marketplace.MaxImages then
|
||||
return nil
|
||||
end
|
||||
if #images == 0 then
|
||||
return {}
|
||||
end
|
||||
|
||||
local owned_media = {
|
||||
["sunset-drive"] = Config.Marketplace.PhotoGradients[1],
|
||||
|
||||
Reference in New Issue
Block a user