Skip to content

Commit 78625a2

Browse files
authored
Fix: add missing allow_none=True to customer website_url attribute (#92)
1 parent ef7b3d2 commit 78625a2

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning].
88
[Keep a Changelog]: https://keepachangelog.com/en/1.0.0/
99
[Semantic Versioning]: https://semver.org/spec/v2.0.0.html
1010

11+
## [4.2.1] - 2024-01-15
12+
- Fix customer website_url, add missing allow_none=True
13+
14+
## [4.2.0] - 2024-01-08
15+
- Add support for customer website_url
16+
1117
## [4.1.1] - 2023-12-21
1218
- Fix missing customer_uuid when creating a note from a customer
1319

chartmogul/api/customer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class _Schema(Schema):
6666
currency = fields.String()
6767
currency_sign = fields.String(data_key="currency-sign")
6868
address = fields.Nested(Address._Schema, allow_none=True, unknown=EXCLUDE)
69-
website_url = fields.String()
69+
website_url = fields.String(allow_none=True)
7070

7171
@post_load
7272
def make(self, data, **kwargs):

chartmogul/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.1.1"
1+
__version__ = "4.2.1"

0 commit comments

Comments
 (0)