Skip to content

Commit

Permalink
Merge pull request #286 from rileyhun/fix-postgresql
Browse files Browse the repository at this point in the history
fix request set down
  • Loading branch information
bogdanp05 committed Dec 11, 2019
2 parents 9e5563c + 868df10 commit 8af334f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_monitoringdashboard/database/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def add_request(db_session, duration, endpoint_id, ip, group_by, status_code):
status_code=status_code,
)
db_session.add(request)
db_session.flush()
db_session.commit()
return request.id


Expand Down

0 comments on commit 8af334f

Please sign in to comment.