def METHOD_NAME():
    group = request.args.get("group_name")
    repo = request.args.get("repo_id")
    if not repo:
        flash("No repo id provided")
    if not group:
        flash("No group name provided")
    repo = int(repo)
    result = current_user.remove_repo(group, repo)[0]
    if result:
        flash(f"Successfully removed repo {repo} from group {group}")
    else:
        flash("An error occurred removing repo from group")
    return redirect(url_for("user_group_view") + f"?group={group}")