Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
linting
  • Loading branch information
Emyrk committed Nov 19, 2024
commit 785243411f463162a54f4600566af14f952e3912
8 changes: 4 additions & 4 deletions coderd/database/dbmem/dbmem.go
Original file line number Diff line number Diff line change
Expand Up @@ -8436,13 +8436,13 @@ func (q *FakeQuerier) OIDCClaimFieldValues(_ context.Context, args database.OIDC
if !ok {
continue
}
switch value.(type) {
switch value := value.(type) {
case string:
values = append(values, value.(string))
values = append(values, value)
case []string:
values = append(values, value.([]string)...)
values = append(values, value...)
case []any:
for _, v := range value.([]any) {
for _, v := range value {
if sv, ok := v.(string); ok {
values = append(values, sv)
}
Expand Down
Loading