mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
Avoid cache for uploaded images
This commit is contained in:
parent
cb095b8dd2
commit
9b2562eb40
|
@ -202,7 +202,7 @@ def webhook_formatter(action, STATIC, **params):
|
||||||
logging.debug(urls)
|
logging.debug(urls)
|
||||||
if "-1" not in urls: # oage removed before we asked for it
|
if "-1" not in urls: # oage removed before we asked for it
|
||||||
img_info = next(iter(urls.values()))["imageinfo"]
|
img_info = next(iter(urls.values()))["imageinfo"]
|
||||||
embed["image"]["url"] = img_info[0]["url"]
|
embed["image"]["url"] = img_info[0]["url"] + "?version=" + "".join([x for x in img_info[0]["timestamp"] if x.isdigit()])
|
||||||
additional_info_retrieved = True
|
additional_info_retrieved = True
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue