Skip to content

Commit

Permalink
set default tenant
Browse files Browse the repository at this point in the history
  • Loading branch information
gernest committed Feb 20, 2024
1 parent 1f4e9e4 commit 084ca1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/tenant/tenants.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ func (t *Tenants) Load(ctx context.Context, q url.Values) context.Context {
}
}
}
if v == "" {
v = Default
}
return With(ctx, v)
}

Expand Down

0 comments on commit 084ca1b

Please sign in to comment.