Skip to content

Commit 800ce48

Browse files
fix: Make discount code ID read only (#4531)
1 parent 6534876 commit 800ce48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/order.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default ModelBase.extend(CustomPrimaryKeyMixin, {
2727
isBillingEnabled : attr('boolean', { defaultValue: false }),
2828
createdAt : attr('moment', { readOnly: true }),
2929
completedAt : attr('moment', { readOnly: true }),
30-
discountCodeId : attr('string'),
30+
discountCodeId : attr('string', { readOnly: true }),
3131
ticketsPdfUrl : attr('string'),
3232
/**
3333
* Relationships

0 commit comments

Comments
 (0)