We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e843e1b commit c328984Copy full SHA for c328984
lib/browser.dart
@@ -4,6 +4,8 @@
4
5
library github.browser;
6
7
+import 'package:http/browser_client.dart';
8
+
9
import "src/common.dart";
10
11
export "src/browser/helper.dart";
@@ -12,5 +14,6 @@ export "src/common.dart";
12
14
/// Creates a GitHub Client
13
15
GitHub createGitHubClient(
16
{Authentication auth, String endpoint: "https://api.github.com"}) {
- return new GitHub(auth: auth, endpoint: endpoint);
17
+ return new GitHub(
18
+ auth: auth, client: new BrowserClient(), endpoint: endpoint);
19
}
0 commit comments