Skip to content
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 issue where the configuration information of robots from other organizations cannot be found #588

Merged
merged 4 commits into from
Dec 16, 2024

Conversation

xingwanying
Copy link
Contributor

No description provided.

Copy link

vercel bot commented Dec 16, 2024

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 Dec 16, 2024 6:09am

Copy link

Walkthrough

This pull request addresses an issue where the configuration information for robots from other organizations could not be retrieved. The code changes involve modifying the method to fetch bot configurations by replacing the user ID with a user object that includes an access token. This allows the system to authenticate and retrieve organization IDs, which are then used to query the bot configurations.

Changes

File Summary
server/bot/router.py Replaced user ID with a user object to fetch access token and organization IDs. Modified the query to retrieve bot configurations based on these IDs.

@xingwanying xingwanying merged commit 819dfa0 into main Dec 16, 2024
3 of 4 checks passed
@xingwanying xingwanying deleted the fix_config branch December 16, 2024 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant