def delete(repo_id): Kudo_service = Kudo(g.user) if Kudo_service.delete_kudo_for(repo_id): return json_response({}) else: return json_response({'error': 'kudo not found'}, 404)
def delete(repo_id): print("Got request to delete Kudo") kudo_service = KudoService(g.user) if kudo_service.delete_kudo_for(repo_id): return json_response({}) else: return json_response({'error': 'kudo not found'}, 404)
def delete(repo_id): kudo_service = Kudo(g.oidc_token_info['sub']) if kudo_service.delete_kudo_for(repo_id): return json_response({}) else: return json_response({'error': 'kudo not found'}, 404)
def delete(repo_id): kudo_service = Kudo(g.user) if kudo_service.delete_kudo_for(repo_id): return json_response({}) else: return json_response({'error': 'kudo not found'}, 404)