-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: solve the app install callback url #461
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Walkthrough此 PR 修复了安装应用后页面无法正常渲染的问题。主要通过更新回调 URL 的格式和确保某些 ID 字段被正确转换为字符串来实现。 Changes
|
robot_id="", | ||
created_at=int(time.time()), | ||
) | ||
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change from url=f"{WEB_URL}/github/installed/{message}"
to url=f"{WEB_URL}/github/installed?message={message}"
fixes the issue with the callback URL not being correctly formatted, which could have led to rendering issues after app installation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG
Codecov ReportAll modified and coverable lines are covered by tests ✅
|
修复安装 app 后页面无法正常渲染的bug