Skip to content

Commit c7dc541

Browse files
committed
fix: backend api response fix that return minimal data
1 parent 3671ccd commit c7dc541

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

ury/ury/workspace/ury/ury.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"type": "Link"
112112
}
113113
],
114-
"modified": "2025-07-25 10:51:43.683224",
114+
"modified": "2026-01-16 11:47:19.008936",
115115
"modified_by": "Administrator",
116116
"module": "URY",
117117
"name": "URY",

ury/ury_pos/api.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,10 @@ def create_customer(customer_name, mobile_number=None, customer_group="Individua
677677
return {
678678
"status": "success",
679679
"message": "Customer created successfully",
680-
"customer": customer.as_dict()
680+
"customer_name": customer_name,
681+
"mobile_number": mobile_number,
682+
"customer_group": customer_group,
683+
"territory": territory
681684
}
682685

683686
except Exception as e:

0 commit comments

Comments
 (0)