Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Jan 26, 2020
1 parent 222fa8b commit 9c56a03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/tickets.py
Expand Up @@ -231,7 +231,7 @@ def before_update_object(self, ticket, data, view_kwargs):
:param view_kwargs:
:return:
"""
if ticket.type == 'paid' or data.get('type') == 'donation':
if ticket.type == 'paid' or ticket.type == 'donation':
try:
event = (
db.session.query(Event)
Expand Down

0 comments on commit 9c56a03

Please sign in to comment.