Skip to content

Commit

Permalink
Change customer_key in customer_contact_list to default customer_id (#…
Browse files Browse the repository at this point in the history
…715)

* Change customer_key in customer_contact_list to default customer_id

* Bumpversion to 2.6.2
  • Loading branch information
tjeerddie authored Jul 18, 2024
1 parent 09388ca commit 303a122
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.6.1
current_version = 2.6.2
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(rc(?P<build>\d+))?
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

"""This is the orchestrator workflow engine."""

__version__ = "2.6.1"
__version__ = "2.6.2"

from orchestrator.app import OrchestratorCore
from orchestrator.settings import app_settings
Expand Down
2 changes: 1 addition & 1 deletion orchestrator/forms/validators/customer_contact_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

def customer_contact_list(
customer_id: Optional[UUID] = None,
customer_key: Optional[str] = "customer",
customer_key: Optional[str] = "customer_id",
min_items: Optional[int] = None,
max_items: Optional[int] = None,
) -> type[list[T]]:
Expand Down
2 changes: 1 addition & 1 deletion test/unit_tests/forms/test_customer_contact_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class Form(FormPage):
"additionalProperties": False,
"properties": {
"customer_contacts": {
"customerKey": "customer",
"customerKey": "customer_id",
"items": {"$ref": "#/$defs/ContactPerson"},
"title": "Customer Contacts",
"type": "array",
Expand Down

0 comments on commit 303a122

Please sign in to comment.