This commit is contained in:
fireworks88 2021-09-06 23:38:17 +02:00
parent da0bc10db5
commit f39951380e
2 changed files with 22 additions and 14 deletions

View file

@ -115,4 +115,8 @@ def upload_video(file):
finally:
remove(file_path)
return resp['link']
link = resp['link']
img = Image(text=link, deletehash=resp['deletehash'])
g.db.add(img)
return link