Skip to content

Commit

Permalink
accept content types #192.
Browse files Browse the repository at this point in the history
Prep for json profiles #163
#128. For Validation just unmarshal an interface
  • Loading branch information
valentinedwv committed May 3, 2023
1 parent 261600d commit dd34a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/summoner/acquire/jsonutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func isGraphArray(v1 *viper.Viper, jsonld string) (bool, []string, error) {
var myArray []interface{}
err := json.Unmarshal([]byte(jsonld), &myArray)
if err == nil {
var myArray []interface{}
var myArray []map[string]interface{}
err := json.Unmarshal([]byte(jsonld), &myArray)
if err == nil {
for _, j := range myArray {
Expand Down

0 comments on commit dd34a02

Please sign in to comment.