Still working on order and orders that are carts
This commit is contained in:
@@ -372,6 +372,7 @@ async def get_person_obj(
|
||||
inc_order_line_list = inc_order_line_list,
|
||||
inc_order_list = inc_order_list,
|
||||
inc_order_cart = inc_order_cart,
|
||||
inc_order_cart_v3 = inc_order_cart,
|
||||
# inc_order_cart_list = inc_order_cart_list,
|
||||
inc_organization = inc_organization,
|
||||
# inc_organization_list = inc_organization_list,
|
||||
|
||||
@@ -134,8 +134,9 @@ async def user_obj_change_password(
|
||||
data = user_obj
|
||||
else:
|
||||
data = True
|
||||
|
||||
if generated_password:
|
||||
return mk_resp(data=data, status_message='Generated password: fake-testing-12345', response=commons.response)
|
||||
return mk_resp(data=data, status_message='Generated random password', response=commons.response)
|
||||
else:
|
||||
return mk_resp(data=data, status_message='The password has been changed.', response=commons.response)
|
||||
#return mk_resp(data=None, status_code=501, response=commons.response) # Not Implemented
|
||||
|
||||
Reference in New Issue
Block a user