forked from MarseyWorld/MarseyWorld
master
parent
1e34625c1f
commit
d6a219c151
|
@ -367,7 +367,7 @@ def wall_comment(v):
|
|||
if parent.deleted_utc != 0: abort(404)
|
||||
parent_user = parent.wall_user
|
||||
parent_comment_id = parent.id
|
||||
parent_author = parent_user
|
||||
parent_author = parent.author
|
||||
else: abort(400)
|
||||
|
||||
level = 1 if isinstance(parent, User) else parent.level + 1
|
||||
|
|
Loading…
Reference in New Issue