We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9372502 commit c855447Copy full SHA for c855447
coderd/httpmw/organizationparam.go
@@ -62,8 +62,9 @@ func ExtractOrganizationParam(db database.Store) func(http.Handler) http.Handler
62
// arg == uuid.Nil.String() should be a temporary workaround for
63
// legacy provisioners that don't provide an organization ID.
64
// This prevents a breaking change.
65
- // TODO: This change was added March 2024, this should be removed
66
- // some number of months after that date.
+ // TODO: This change was added March 2024. Nil uuid returning the
+ // default org should be removed some number of months after
67
+ // that date.
68
if arg == codersdk.DefaultOrganization || arg == uuid.Nil.String() {
69
organization, dbErr = db.GetDefaultOrganization(ctx)
70
} else {
0 commit comments