From 51a7822bb9870650d3907c0090a9c5585e2b565c Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Wed, 17 Aug 2016 11:54:52 +0200 Subject: [PATCH] fix details parameter format (#12850) --- facturier/management/commands/cleanup_transactionevents.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/facturier/management/commands/cleanup_transactionevents.py b/facturier/management/commands/cleanup_transactionevents.py index b426f0d..a862b61 100644 --- a/facturier/management/commands/cleanup_transactionevents.py +++ b/facturier/management/commands/cleanup_transactionevents.py @@ -14,4 +14,4 @@ class Command(BaseCommand): TransactionEvent.objects.create(transaction_id=event.transaction_id, status='CANCELED', invoice_id=event.invoice_id, regie=event.regie, - details='%s canceled because expired' % event.transaction_id) + details='{"message": "%s canceled because expired"}' % event.transaction_id)