From b3f526eb0cf0e5d473b2a6ebadb1cbf143679c79 Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sun, 5 Mar 2017 23:42:01 -0500 Subject: [PATCH] Update auth.dart --- lib/src/routes/controllers/auth.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/routes/controllers/auth.dart b/lib/src/routes/controllers/auth.dart index cb7e2812..b22be7e8 100644 --- a/lib/src/routes/controllers/auth.dart +++ b/lib/src/routes/controllers/auth.dart @@ -11,7 +11,7 @@ class AuthController extends Controller { /// /// Our User service is already wired to remove sensitive data from serialized JSON. deserializer(String id) async => - app.service('api/users').read(id, {'provider': Providers.VIA_REST}); + app.service('api/users').read(id, {'provider': Providers.REST}); serializer(User user) async => user.id;