Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
n00rsy committed Apr 25, 2023
1 parent 8a58985 commit 9b2ac4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pybossa/view/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -1182,12 +1182,12 @@ def _add_bookmark(user_name, short_name, bookmark_name, bookmark_url):
else:
created_date = make_timestamp()
updated_date = make_timestamp()
bookmark_payload = {
bookmark_data = {
'url': bookmark_url,
'created': created_date,
'updated': updated_date
}
proj_bookmarks[bookmark_name] = bookmark_payload
proj_bookmarks[bookmark_name] = bookmark_data
taskbrowse_bookmarks[short_name] = proj_bookmarks
user.info['taskbrowse_bookmarks'] = taskbrowse_bookmarks

Expand Down

0 comments on commit 9b2ac4d

Please sign in to comment.