Skip to content

Commit

Permalink
fix: server-info deprecated use server instead
Browse files Browse the repository at this point in the history
  • Loading branch information
KevMCarp committed Oct 16, 2024
1 parent e37c871 commit 19adc51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/services/api/api_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class ApiService {

try {
final body = await _get(
'/api/server-info/features',
'/api/server/features',
expected: JSON_MAP,
);

Expand All @@ -109,7 +109,7 @@ class ApiService {
Future<bool> _isEndpointAvailable(String serverUrl) async {
try {
await _dio.get(
'$serverUrl/api/server-info/ping',
'$serverUrl/api/server/ping',
options: Options(
headers: {'Accepts': _applicationJson},
sendTimeout: const Duration(seconds: 5),
Expand Down

0 comments on commit 19adc51

Please sign in to comment.