File tree Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Expand file tree Collapse file tree 1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -107,20 +107,22 @@ fn test_request() {
107
107
// FIXME: This is not valid anymore. Twitch....
108
108
let data = br#"
109
109
{
110
- "data": [{
111
- "id": "44322889",
112
- "login": "dallas",
113
- "display_name": "dallas",
114
- "type": "staff",
115
- "broadcaster_type": "",
116
- "description": "Just a gamer playing games and chatting. :)",
117
- "profile_image_url": "https://static-cdn.jtvnw.net/jtv_user_pictures/dallas-profile_image-1a2c906ee2c35f12-300x300.png",
118
- "offline_image_url": "https://static-cdn.jtvnw.net/jtv_user_pictures/dallas-channel_offline_image-1a2c906ee2c35f12-1920x1080.png",
119
- "view_count": 191836881,
120
- "email": "login@provider.com",
121
- "created_at": "2013-06-03T19:12:02.580593Z"
122
- }]
123
- }
110
+ "data": [
111
+ {
112
+ "id": "141981764",
113
+ "login": "twitchdev",
114
+ "display_name": "TwitchDev",
115
+ "type": "",
116
+ "broadcaster_type": "partner",
117
+ "description": "Supporting third-party developers building Twitch integrations from chatbots to game integrations.",
118
+ "profile_image_url": "https://static-cdn.jtvnw.net/jtv_user_pictures/8a6381c7-d0c0-4576-b179-38bd5ce1d6af-profile_image-300x300.png",
119
+ "offline_image_url": "https://static-cdn.jtvnw.net/jtv_user_pictures/3f13ab61-ec78-4fe6-8481-8682cb3b0ac2-channel_offline_image-1920x1080.png",
120
+ "view_count": 5980557,
121
+ "email": "not-real@email.com",
122
+ "created_at": "2016-12-14T20:32:28.894263Z"
123
+ }
124
+ ]
125
+ }
124
126
"#
125
127
. to_vec ( ) ;
126
128
You can’t perform that action at this time.
0 commit comments