Skip to content

Commit

Permalink
fixed ci
Browse files Browse the repository at this point in the history
  • Loading branch information
brennanjl committed May 24, 2024
1 parent 9dd73c3 commit 90130c6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/utils/json/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ func UnmarshalMapWithoutFloat(b []byte) ([]map[string]any, error) {
// convertJsonNumbers recursively converts json.Number to int64.
// It traverses through the map and array and converts all json.Number to int64.
func convertJsonNumbers(val any) any {
if val == nil {
return nil
}
switch val := val.(type) {
case map[string]any:
for k, v := range val {
Expand Down

0 comments on commit 90130c6

Please sign in to comment.