fsd
This commit is contained in:
parent
7bbc1d75ab
commit
08203a791d
3 changed files with 11 additions and 7 deletions
|
@ -854,8 +854,8 @@ def api_is_repost():
|
|||
Submission.deleted_utc == 0,
|
||||
Submission.is_banned == False
|
||||
).first()
|
||||
if repost: return repost.permalink
|
||||
else: return ''
|
||||
if repost: return {'permalink': repost.permalink}
|
||||
else: return {'permalink': ''}
|
||||
|
||||
@app.post("/submit")
|
||||
@app.post("/h/<sub>/submit")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue