Still working on order and orders that are carts

This commit is contained in:
Scott Idem
2022-01-21 16:41:40 -05:00
parent afe44bac89
commit ab0b900721
5 changed files with 95 additions and 2 deletions

View File

@@ -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