Skip to content

Commit

Permalink
feat: Add cancelled and withdrawn state to session (#7146)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamareebjamal authored Jul 21, 2020
1 parent 937a163 commit 385f2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/schema/sessions.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def validate_fields(self, data, original_data):
signup_url = fields.Url(allow_none=True)
state = fields.Str(
validate=validate.OneOf(
choices=["pending", "accepted", "confirmed", "rejected", "draft"]
choices=["pending", "accepted", "confirmed", "rejected", "draft", "cancelled", "withdrawn"]
),
allow_none=True,
missing='draft',
Expand Down

0 comments on commit 385f2bc

Please sign in to comment.