-
Notifications
You must be signed in to change notification settings - Fork 24
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: Check to see if user exists before setting default org #3744
fix: Check to see if user exists before setting default org #3744
Conversation
Bundle ReportChanges will decrease total bundle size by 148 bytes (-0.0%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: gazebo-staging-systemAssets Changed:
Files in
view changes for bundle: gazebo-staging-esmAssets Changed:
Files in
|
Bundle ReportChanges will decrease total bundle size by 148 bytes (-0.0%) ⬇️. This is within the configured threshold ✅ Detailed changes
Affected Assets, Files, and Routes:view changes for bundle: gazebo-production-esmAssets Changed:
Files in
view changes for bundle: gazebo-production-systemAssets Changed:
Files in
|
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3744 +/- ##
=======================================
Coverage 98.84% 98.84%
=======================================
Files 823 823
Lines 14851 14868 +17
Branches 4220 4222 +2
=======================================
+ Hits 14680 14697 +17
Misses 165 165
Partials 6 6
... and 7 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #3744 +/- ##
=======================================
Coverage 98.84% 98.84%
=======================================
Files 823 823
Lines 14851 14868 +17
Branches 4220 4230 +10
=======================================
+ Hits 14680 14697 +17
Misses 165 165
Partials 6 6
... and 7 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #3744 +/- ##
=======================================
Coverage 98.84% 98.84%
=======================================
Files 823 823
Lines 14851 14868 +17
Branches 4228 4230 +2
=======================================
+ Hits 14680 14697 +17
Misses 165 165
Partials 6 6
... and 7 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
✅ Deploy preview for gazebo ready!Previews expire after 1 month automatically.
|
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.
Nice find and fix!
Description
This PR fixes a small logic issue, where if the user doesn't exist it tries to update the default org for the user, causing an empty failure toast to pop up. This PR fixes this issue, by checking to see if the user data exists in the first place.
Notable Changes
Screenshots
Before:
Screen.Recording.2025-02-14.at.13.31.58.mov
After:
Screen.Recording.2025-02-14.at.13.32.45.mov