Fixed profile page

This commit is contained in:
2020-11-28 22:56:25 +01:00
parent 35a130f1a1
commit d73b63d85d
2 changed files with 31 additions and 33 deletions

View File

@@ -21,7 +21,5 @@ class ProfileView(FlaskView):
@login_required
def index(self):
useritems = Item.query.filter_by(uploader_id=current_user.id)
return render_template('profile.html', images=useritems)