Skip to content

Commit e7585eb

Browse files
committed
add custom media type to allow branch protection api
1 parent a89bb30 commit e7585eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/github_api/connection.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def default_headers
2323
{
2424
ACCEPT => 'application/vnd.github.v3+json,' \
2525
'application/vnd.github.beta+json;q=0.5,' \
26+
'application/vnd.github.loki-preview+json,' \
2627
'application/json;q=0.1',
2728
ACCEPT_CHARSET => 'utf-8'
2829
}

0 commit comments

Comments
 (0)