fd
This commit is contained in:
parent
c391b52276
commit
c8def76330
4 changed files with 5 additions and 5 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue