Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(744)

Unified Diff: impl/prod/context.go

Issue 1500433002: Add User service. (Closed) Base URL: https://github.com/luci/gae.git@inner_ctx
Patch Set: method Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « impl/dummy/dummy_test.go ('k') | impl/prod/user.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/prod/context.go
diff --git a/impl/prod/context.go b/impl/prod/context.go
index ae18e94293e7a3e11235271185fab12e6c76dab1..11bd6c24e33189a6c1e815b975a15ee2ff2c7b56 100644
--- a/impl/prod/context.go
+++ b/impl/prod/context.go
@@ -40,5 +40,5 @@ func AEContext(c context.Context) context.Context {
func Use(c context.Context, r *http.Request) context.Context {
aeCtx := appengine.NewContext(r)
c = context.WithValue(c, prodContextKey, aeCtx)
- return useURLFetch(useRDS(useMC(useTQ(useGI(c)))))
+ return useUser(useURLFetch(useRDS(useMC(useTQ(useGI(c))))))
}
« no previous file with comments | « impl/dummy/dummy_test.go ('k') | impl/prod/user.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698