diff --git a/app/models/order.js b/app/models/order.js index 7424f8ba318..610ab3cea9f 100644 --- a/app/models/order.js +++ b/app/models/order.js @@ -27,7 +27,7 @@ export default ModelBase.extend(CustomPrimaryKeyMixin, { isBillingEnabled : attr('boolean', { defaultValue: false }), createdAt : attr('moment', { readOnly: true }), completedAt : attr('moment', { readOnly: true }), - discountCodeId : attr('string'), + discountCodeId : attr('string', { readOnly: true }), ticketsPdfUrl : attr('string'), /** * Relationships