diff --git a/lib/src/routes/controllers/auth.dart b/lib/src/routes/controllers/auth.dart index cb7e281..b22be7e 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;