Skip to content

Commit

Permalink
remove make_timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
n00rsy committed Apr 26, 2023
1 parent c4fcfa9 commit 20943b0
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 @@ -1176,8 +1176,8 @@ def _add_bookmark(user_name, short_name, bookmark_name, bookmark_url):
if old_bookmark is not None:
created_date = old_bookmark['created']
else:
created_date = make_timestamp()
updated_date = make_timestamp()
created_date = model.make_timestamp()
updated_date = model.make_timestamp()
bookmark_data = {
'url': bookmark_url,
'created': created_date,
Expand Down

0 comments on commit 20943b0

Please sign in to comment.