Skip to content

Commit

Permalink
chore(server): add array in convert value of gql
Browse files Browse the repository at this point in the history
  • Loading branch information
pyshx committed Nov 7, 2023
1 parent 5e30129 commit ee5844d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/internal/adapter/gql/gqlmodel/convert_value.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ func valueInterfaceToGqlValue(v interface{}) interface{} {
North: v2.North,
South: v2.South,
}
case []string:
return v2
case []float64:
return v2
}
return nil
}
Expand Down

0 comments on commit ee5844d

Please sign in to comment.