Skip to content

Commit

Permalink
Fix missing contact uuid (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
briwa authored Mar 31, 2023
1 parent c63bbad commit 25b6aeb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions chartmogul/api/contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class Contact(Resource):
[_root_key, "has_more", "cursor"])

class _Schema(Schema):
uuid = fields.String()
customer_uuid = fields.String(allow_none=True)
data_source_uuid = fields.String(allow_none=True)
customer_external_id = fields.String(allow_none=True)
Expand Down
1 change: 1 addition & 0 deletions test/api/test_contact.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
}

createContact = {
"uuid": "con_00000000-0000-0000-0000-000000000000",
"customer_uuid": "cus_00000000-0000-0000-0000-000000000000",
"data_source_uuid": "ds_00000000-0000-0000-0000-000000000000",
"first_name": "First name",
Expand Down
1 change: 1 addition & 0 deletions test/api/test_customer.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@
}

createContact = {
"uuid": "con_00000000-0000-0000-0000-000000000000",
"data_source_uuid": "ds_00000000-0000-0000-0000-000000000000",
"first_name": "First name",
"last_name": "Last name",
Expand Down

0 comments on commit 25b6aeb

Please sign in to comment.