Permalink
Browse files

fixes barcode serialization

  • Loading branch information...
1 parent e27738e commit 699763f58e21c798973736c91e7edc1d9ef26aed @fara fara committed Nov 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 passbook/models.py
View
@@ -292,7 +292,7 @@ def json_dict(self):
self.passInformation.jsonname: self.passInformation.json_dict()
}
if self.barcode:
- d.update(self.barcode.json_dict())
+ d.update({'barcode': self.barcode.json_dict()})
if self.relevantDate:
d.update({'relevantDate': self.relevantDate})
if self.backgroundColor:

0 comments on commit 699763f

Please sign in to comment.