chore: upgrade deps
This commit is contained in:
@@ -18,7 +18,7 @@ class LoginService with LogContext {
|
||||
|
||||
final serverAPI =
|
||||
Openapi(dio: dio, basePathOverride: baseUrl, interceptors: [])
|
||||
.getServerInfoApi();
|
||||
.getServerApi();
|
||||
try {
|
||||
await serverAPI.pingServer(validateStatus: (status) => status == 200);
|
||||
} catch (e) {
|
||||
|
||||
@@ -6,7 +6,7 @@ import 'package:openapi/openapi.dart';
|
||||
class ServerInfoService with LogContext {
|
||||
final Openapi _api;
|
||||
|
||||
ServerInfoApi get _serverInfo => _api.getServerInfoApi();
|
||||
ServerApi get _serverInfo => _api.getServerApi();
|
||||
|
||||
ServerInfoService(this._api);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user