Skip to content

Commit

Permalink
fix: Make discount code ID read only (#4531)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamareebjamal authored Jul 6, 2020
1 parent 6534876 commit 800ce48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/order.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit 800ce48

@vercel
Copy link

@vercel vercel bot commented on 800ce48 Jul 6, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.