Skip to content

Fix INS-2275 db not defined creating team branch #5719

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

Conversation

filfreire
Copy link
Contributor

@filfreire filfreire commented Jan 25, 2023

changelog(Fixes): Fixed an issue that cause a db not defined error to show up when creating a new branch on Insomnia Cloud sync

Closes INS-2275

We were missing db import on the team sync. This doesn't get caught in local development, only on the packaged app.

I went ahead and added the missing import and also tried cleanup a bit to avoid using the ts-expect error on similar function calls for team sync and git sync by forcing the type. In some cases had to do the as unknown as <something> trick. Open to improvement suggestions.

@filfreire filfreire requested a review from a team January 25, 2023 12:31
@filfreire filfreire merged commit 4a46d0f into Kong:develop Jan 25, 2023
@filfreire filfreire deleted the feature/ins-2275-db-not-defined-error-when-creating-team branch January 25, 2023 15:42
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.

2 participants