Skip to content

Commit

Permalink
Fix error while making database entry
Browse files Browse the repository at this point in the history
  • Loading branch information
abs51295 committed Jul 9, 2018
1 parent b61c652 commit a48740d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def store_record(cls, data):
email_ids=data.get('email-ids', 'dummy'),
last_scanned_at=datetime.datetime.now()
)
add_entry_to_osio_registered_repos(entry)
add_entry_to_osio_registered_repos(session, entry)
session.commit()
except SQLAlchemyError:
session.rollback()
Expand Down

0 comments on commit a48740d

Please sign in to comment.