forked from eatvio/eatvio_app
fix: auth
This commit is contained in:
@@ -9,7 +9,7 @@ part 'auth_service.g.dart';
|
||||
abstract class AuthService {
|
||||
factory AuthService(Dio dio, {String? baseUrl}) = _AuthService;
|
||||
|
||||
@GET('/api/login')
|
||||
@POST('/api/login')
|
||||
Future<TokenModel> getTokenByCredentials({
|
||||
@Body() required CredentialsModel credentials,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user