mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
Fix an outdated method call in example code for oauth2.
BUG=7675 Review URL: https://codereview.chromium.org//12787015 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20341 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
8652d54682
commit
94073b77e4
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@
|
|||
/// // If the OAuth2 credentials have already been saved from a previous
|
||||
/// // run, we just want to reload them.
|
||||
/// if (exists) {
|
||||
/// return credentialsFile.readAsText().then((json) {
|
||||
/// return credentialsFile.readAsString().then((json) {
|
||||
/// var credentials = new oauth2.Credentials.fromJson(json);
|
||||
/// return new oauth2.Client(identifier, secret, credentials);
|
||||
/// });
|
||||
|
|
Loading…
Reference in a new issue