Skip to content

Commit dd616cc

Browse files
committed
fix
1 parent ed16588 commit dd616cc

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

src/modules/github.js

+3
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343

4444
if (Array.isArray(o)) {
4545
o = {data:o};
46+
}
47+
48+
if (o.data) {
4649
paging(o, headers, req);
4750
o.data.forEach(formatUser);
4851
}

src/modules/soundcloud.js

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
o.thumbnail = o.avatar_url;
7070
o.name = o.username || o.full_name;
7171
}
72+
7273
return o;
7374
}
7475

src/modules/twitter.js

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@
120120
// See: https://dev.twitter.com/overview/general/user-profile-images-and-banners
121121
o.thumbnail = o.profile_image_url_https || o.profile_image_url;
122122
}
123+
123124
return o;
124125
}
125126

0 commit comments

Comments
 (0)