diff --git a/server/github_app/router.py b/server/github_app/router.py index 64a5b4e3..a2a35c1e 100644 --- a/server/github_app/router.py +++ b/server/github_app/router.py @@ -85,12 +85,12 @@ def github_app_callback(code: str, installation_id: str, setup_action: str): repository_config_dao.create(repository_config) return RedirectResponse( - url=f"{WEB_URL}/github/installed/{message}", status_code=302 + url=f"{WEB_URL}/github/installed?message={message}", status_code=302 ) # ignore others setup_action,such as deleted our app return { "success": False, - "message": f"Invalid setup_action value {setup_action}", + "message": f"Invalid setup_action value {setup_action},please delete the app first then re-install the app.", }