ENH - expand CityMarkt photo workflow

This commit is contained in:
smx.pusha
2026-08-06 13:33:59 +02:00
parent b38785a327
commit 1f85d9b3fc
8 changed files with 256 additions and 19 deletions
+4 -1
View File
@@ -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],