Skip to content

Commit c855447

Browse files
committed
update todo comment
1 parent 9372502 commit c855447

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

coderd/httpmw/organizationparam.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,9 @@ func ExtractOrganizationParam(db database.Store) func(http.Handler) http.Handler
6262
// arg == uuid.Nil.String() should be a temporary workaround for
6363
// legacy provisioners that don't provide an organization ID.
6464
// 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.
65+
// TODO: This change was added March 2024. Nil uuid returning the
66+
// default org should be removed some number of months after
67+
// that date.
6768
if arg == codersdk.DefaultOrganization || arg == uuid.Nil.String() {
6869
organization, dbErr = db.GetDefaultOrganization(ctx)
6970
} else {

0 commit comments

Comments
 (0)