dfs
This commit is contained in:
parent
023c3f8434
commit
c5e2187683
3 changed files with 8 additions and 6 deletions
|
@ -646,6 +646,8 @@ def unfollow_user(username, v):
|
|||
|
||||
target = get_user(username)
|
||||
|
||||
if target.id == 995: abort(403)
|
||||
|
||||
# check for existing follow
|
||||
follow = g.db.query(Follow).options(lazyload('*')).filter_by(user_id=v.id, target_id=target.id).first()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue