getting uRL fix

This commit is contained in:
CHIEFSOFT\ameye
2025-09-22 13:57:14 -04:00
parent 500b4c5931
commit 32f0a69598
2 changed files with 3 additions and 4 deletions
+1 -3
View File
@@ -197,12 +197,10 @@ class MyProductsService(BaseService):
# getting the url-name part
url_name_part = str(random.randint(100000, 999999)) # Starr with random numbers
member_profile_data = MembersProfile.get_member_profile_by_profile_uid(uid)
member_profile_data = MembersProfile.get_member_profile_by_member_id(member_id)
if member_profile_data and member_profile_data.url_name != None:
url_name_part = member_profile_data.url_name
product_id = validated_data.get('product_id')
product_data = Products.get_product_by_product_id(product_id)
configured_start_url = product_data.start_url