From 7a34785655a89efb86e0343322276e5c50d0993e Mon Sep 17 00:00:00 2001 From: "J. A. Messias" Date: Mon, 9 Dec 2024 10:18:41 -0300 Subject: [PATCH] fix timeout --- lib/backend/api_requests/api_calls.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/backend/api_requests/api_calls.dart b/lib/backend/api_requests/api_calls.dart index ab81afc1..1b9a9a9f 100644 --- a/lib/backend/api_requests/api_calls.dart +++ b/lib/backend/api_requests/api_calls.dart @@ -953,7 +953,7 @@ class GetLocalsCall { cache: false, isStreamingApi: false, alwaysAllowBody: false, - ).timeout(const Duration(seconds: 30)); + ); } List? locais(dynamic response) => getJsonField( @@ -1380,7 +1380,7 @@ class GetDadosCall { cache: false, isStreamingApi: false, alwaysAllowBody: false, - ); + ).timeout(const Duration(seconds: 30)); } bool? errorBolean(dynamic response) => castToType(getJsonField(