Skip to content

Commit

Permalink
fix switch cases
Browse files Browse the repository at this point in the history
  • Loading branch information
mul14 committed Oct 17, 2024
1 parent adddcd5 commit c7376a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/db/where.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,11 @@ func SliceToStringSlice(slice interface{}) []string {
func isValueWhitelist(value any) bool {
switch getStringValue(value) {
case "true":
return true
case "false":
return true
case "null":
return true
case "unknown":
return true
}
Expand Down

0 comments on commit c7376a1

Please sign in to comment.