def put(self, contact_uuid: str):
     uuid = g.user_info["id"]
     UserService.add_contact_to_user(uuid,
                                     contact_uuid=contact_uuid,
                                     uow=current_app.context)
     contacts = UserService.list_contacts(uuid, uow=current_app.context)
     return {
         "message":
         f"contact {contact_uuid} successfully added from user {uuid}",
         "data": contacts
     }, 201
 def get(self):
     uuid = g.user_info["id"]
     contacts = UserService.list_contacts(uuid, uow=current_app.context)
     return {"data": contacts, "user": "******"}, 200