no dash
parent
c3c23f7957
commit
4dd90e8ac6
|
@ -1471,7 +1471,7 @@ def pin_post(post_id, v):
|
|||
send_repeatable_notification(post.author_id, f"@{v.username} (a site admin) has pinned {post.textlink}")
|
||||
else:
|
||||
if permapinned >= PIN_LIMIT:
|
||||
abort(403, f"Can't have more than {PIN_LIMIT} perma-pinned posts!")
|
||||
abort(403, f"Can't have more than {PIN_LIMIT} permapinned posts!")
|
||||
post.pinned_utc = None
|
||||
pin_time = 'permanently'
|
||||
code = 201
|
||||
|
|
Loading…
Reference in New Issue