getting uRL fix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user