Skip to content

Commit c3beee6

Browse files
committed
Tweak
1 parent 2882367 commit c3beee6

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

example/repos.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ void main() {
2424
initGitHub();
2525
github = new GitHub(
2626
auth: new Authentication.withToken(
27-
"5fdec2b77527eae85f188b7b2bfeeda170f26883"));
27+
"6f266b306ef2d9ef2b7ce54e688a6422f1d056d6"));
2828

2929
$repos = querySelector("#repos");
3030

lib/src/common/util/pagination.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,7 @@ class PaginationHelper<T> {
6464
if (first && start != null) {
6565
p = new Map.from(params);
6666
p['page'] = start;
67-
}
68-
else if (!first) {
67+
} else if (!first) {
6968
p = null;
7069
}
7170

test/experiment/orglist.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import "package:github/server.dart";
2+
3+
main() async {
4+
var github = createGitHubClient();
5+
var repos = await github.repositories.listUserRepositories("dart-lang").toList();
6+
github.dispose();
7+
print(repos);
8+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy