Skip to content

Commit 651253c

Browse files
authored
Merge pull request #108441 from RohitMungi-MSFT/patch-41
Correcting the struct according to the response from the API
2 parents 988c266 + 9d2aff9 commit 651253c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/cognitive-services/Bing-News-Search/go.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ type NewsAnswer struct {
6969
Width int `json: "width"`
7070
Height int `json: "height"`
7171
} `json: "thumbnail"`
72+
} `json: "image"`
7273
Description string `json: "description"`
7374
Provider []struct {
7475
Type string `json: "_type"`
7576
Name string `json: "name"`
7677
} `json: "provider"`
7778
DatePublished string `json: "datePublished"`
78-
} `json: "image"`
7979
} `json: "value"`
8080
}
8181

0 commit comments

Comments
 (0)