Skip to content

Commit e93e77e

Browse files
committed
Specify v3 version on Accept header
1 parent ff5e99c commit e93e77e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
}
5555
}
5656
};
57-
xhr.setRequestHeader('Accept','application/vnd.github.raw+json');
57+
xhr.setRequestHeader('Accept','application/vnd.github.v3.raw+json');
5858
xhr.setRequestHeader('Content-Type','application/json;charset=UTF-8');
5959
if ((options.token) || (options.username && options.password)) {
6060
xhr.setRequestHeader('Authorization', options.token

0 commit comments

Comments
 (0)