forked from CGM_Public/pretix_original
Bugfixes for LogEntryTypes refactoring (#4778)
This commit is contained in:
@@ -51,8 +51,8 @@ def register_payment_provider(sender, **kwargs):
|
||||
class PaypalEventLogEntryType(EventLogEntryType):
|
||||
action_type = 'pretix.plugins.paypal.event'
|
||||
|
||||
def display(self, logentry):
|
||||
event_type = logentry.parsed_data.get('event_type')
|
||||
def display(self, logentry, data):
|
||||
event_type = data.get('event_type')
|
||||
text = None
|
||||
plains = {
|
||||
'PAYMENT.SALE.COMPLETED': _('Payment completed.'),
|
||||
|
||||
Reference in New Issue
Block a user