def post(self): '''(Re)Generate my API Key''' current_user.generate_api_key() current_user.save() return current_user, 201
def post(self): '''(Re)Generate my API Key''' current_user.generate_api_key() current_user.save() return current_user, 201
def post(self): '''(Re)Generate my API Key''' current_user.generate_api_key() current_user.save() return current_user, 201
def post(self): '''(Re)Generate my API Key''' current_user.generate_api_key() current_user.save() return current_user, 201