This commit is contained in:
Aevann1 2021-07-25 01:24:23 +02:00
parent c391b52276
commit c8def76330
4 changed files with 5 additions and 5 deletions

View file

@ -934,7 +934,7 @@ def submit_post(v):
name = f'post/{new_post.base36id}/{secrets.token_urlsafe(8)}'
new_post.url = upload_file(name, file)
new_post.domain_ref = 1 # id of i.drama.ga domain
new_post.domain_ref = 1 # id of i.ruqqus.ga domain
g.db.add(new_post)
g.db.add(new_post.submission_aux)
g.db.commit()