MCPcopy Index your code
hub / github.com/coder/coder / GetDefaultOrganization

Method GetDefaultOrganization

coderd/database/dbauthz/dbauthz.go:3366–3370  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

3364}
3365
3366func (q *querier) GetDefaultOrganization(ctx context.Context) (database.Organization, error) {
3367 return fetch(q.log, q.auth, func(ctx context.Context, _ any) (database.Organization, error) {
3368 return q.db.GetDefaultOrganization(ctx)
3369 })(ctx, nil)
3370}
3371
3372func (q *querier) GetDefaultProxyConfig(ctx context.Context) (database.GetDefaultProxyConfigRow, error) {
3373 // No authz checks

Callers

nothing calls this directly

Calls 2

fetchFunction · 0.70

Tested by

no test coverage detected