Skip to content

Commit

Permalink
Fix: add missing allow_none=True to customer website_url attribute (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
whobubble authored Feb 15, 2024
1 parent ef7b3d2 commit 78625a2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning].
[Keep a Changelog]: https://keepachangelog.com/en/1.0.0/
[Semantic Versioning]: https://semver.org/spec/v2.0.0.html

## [4.2.1] - 2024-01-15
- Fix customer website_url, add missing allow_none=True

## [4.2.0] - 2024-01-08
- Add support for customer website_url

## [4.1.1] - 2023-12-21
- Fix missing customer_uuid when creating a note from a customer

Expand Down
2 changes: 1 addition & 1 deletion chartmogul/api/customer.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class _Schema(Schema):
currency = fields.String()
currency_sign = fields.String(data_key="currency-sign")
address = fields.Nested(Address._Schema, allow_none=True, unknown=EXCLUDE)
website_url = fields.String()
website_url = fields.String(allow_none=True)

@post_load
def make(self, data, **kwargs):
Expand Down
2 changes: 1 addition & 1 deletion chartmogul/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "4.1.1"
__version__ = "4.2.1"

0 comments on commit 78625a2

Please sign in to comment.