Update auth.dart
This commit is contained in:
parent
43803c1dbf
commit
b3f526eb0c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue