petercat-ai / petercat

A conversational Q&A agent configuration system, self-hosted deployment solutions, and a convenient all-in-one application SDK, allowing you to create intelligent Q&A bots for your GitHub repositories
https://petercat.ai
MIT License
594 stars 16 forks source link

fix: solve the app install callback url #461

Closed ch-liuzhide closed 1 week ago

ch-liuzhide commented 1 week ago

修复安装 app 后页面无法正常渲染的bug

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
petercat ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2024 8:11am
petercat-assistant[bot] commented 1 week ago

Walkthrough

此 PR 修复了安装应用后页面无法正常渲染的问题。主要通过更新回调 URL 的格式和确保某些 ID 字段被正确转换为字符串来实现。

Changes

文件 概要
server/README.zh-CN.md 添加了研发准备的说明,包括 Python、Supabase CLI 和 AWS CLI 的安装步骤。
server/github_app/router.py 修复了回调 URL 的格式问题,并确保 owner_idrepo_id 被转换为字符串。更新了错误信息以提供更明确的操作指导。
codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files with missing lines Coverage Δ
server/github_app/router.py 36.36% <ø> (+0.40%) :arrow_up:

... and 1 file with indirect coverage changes