Merge pull request #1242 from coreos-inc/receiptemailsbug

Fix schema for invoice email updating
This commit is contained in:
josephschorr 2016-02-16 13:26:26 -05:00
commit ded0a27901
3 changed files with 10 additions and 3 deletions

View file

@ -121,7 +121,7 @@ class Organization(ApiResource):
'description': 'Whether the organization desires to receive emails for invoices',
},
'invoice_email_address': {
'type': 'string',
'type': ['string', 'null'],
'description': 'The email address at which to receive invoices',
},
'tag_expiration': {

View file

@ -199,7 +199,7 @@ class User(ApiResource):
'description': 'The user\'s username',
},
'invoice_email_address': {
'type': 'string',
'type': ['string', 'null'],
'description': 'Custom email address for receiving invoices',
}
},