master
Aevann1 2022-04-10 02:11:06 +02:00
parent 575a3f3712
commit a334aa815e
2 changed files with 3 additions and 3 deletions

View File

@ -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")

View File

@ -268,7 +268,7 @@
<script src="/assets/js/marked.js?v=250"></script>
<script src="/assets/js/formatting.js?v=240"></script>
<script src="/assets/js/submit.js?v=252"></script>
<script src="/assets/js/submit.js?v=253"></script>
{% include "emoji_modal.html" %}
{% include "gif_modal.html" %}