mirror of
https://git.wownero.com/lza_menace/suchwow.git
synced 2024-08-15 01:03:19 +00:00
fix bad ref
This commit is contained in:
parent
289995cd49
commit
0d02bf63f7
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ def read(id):
|
||||||
post = Post.select().where(Post.id == id).first()
|
post = Post.select().where(Post.id == id).first()
|
||||||
if post:
|
if post:
|
||||||
if not post.approved:
|
if not post.approved:
|
||||||
if not is_moderator(get_session_user()):
|
if not User.select().where(User.username == get_session_user()).first().moderator:
|
||||||
flash("That post has not been approved.", "is-warning")
|
flash("That post has not been approved.", "is-warning")
|
||||||
return redirect("/")
|
return redirect("/")
|
||||||
qr_uri = f'wownero:{post.address}?tx_description=suchwow%20post%20{post.id}'
|
qr_uri = f'wownero:{post.address}?tx_description=suchwow%20post%20{post.id}'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue