Skip to content

Commit

Permalink
fix public attributes for 2017
Browse files Browse the repository at this point in the history
  • Loading branch information
therealmarv committed Jan 18, 2017
1 parent c7149e9 commit 8ac39d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pybossa/model/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ def check_password(self, password):
@classmethod
def public_attributes(self):
"""Return a list of public attributes."""
return ['created', 'name', 'fullname', 'locale', 'info',
'task_runs', 'registered_ago', 'rank', 'score']
return ['created', 'name', 'fullname', 'info',
'n_answers', 'registered_ago', 'rank', 'score']

def public_info_keys(self):
"""Return a list of public info keys."""
Expand Down

0 comments on commit 8ac39d4

Please sign in to comment.