Small optimization for photo rail request size

This commit is contained in:
Zed
2022-01-17 03:21:38 +01:00
parent f3d6f53f6d
commit e0b141daf9
2 changed files with 2 additions and 3 deletions

View File

@@ -17,6 +17,8 @@ proc genParams*(pars: openArray[(string, string)] = @[]; cursor="";
result &= p
if ext:
result &= ("ext", "mediaStats")
result &= ("include_ext_alt_text", "true")
result &= ("include_ext_media_availability", "true")
if count.len > 0:
result &= ("count", count)
if cursor.len > 0: