Update auth.dart

This commit is contained in:
Tobe O 2017-03-05 23:42:01 -05:00 committed by GitHub
parent 43803c1dbf
commit b3f526eb0c

View file

@ -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;