forked from Mirrors/oauth2
oauth2: fix the broken appengine build
Change-Id: I7d1af87be35d9e3bd3d0b5dcd659d07cde873b56 Reviewed-on: https://go-review.googlesource.com/1925 Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
parent
78bedfddc3
commit
0a3f39965a
|
@ -25,7 +25,7 @@ func init() {
|
|||
|
||||
func contextClientAppEngine(ctx Context) (*http.Client, error) {
|
||||
if actx, ok := ctx.(appengine.Context); ok {
|
||||
return urlfetch.NewClient(actx), nil
|
||||
return urlfetch.Client(actx), nil
|
||||
}
|
||||
// The user did it wrong. We'll log once (and hope they see it
|
||||
// in dev_appserver), but stil return (nil, nil) in case some
|
||||
|
|
Loading…
Reference in New Issue