From d0249b4e5bb407e713f27a3c75df9f2e1188451d Mon Sep 17 00:00:00 2001 From: Viet Nguyen Tran Date: Thu, 22 Feb 2024 12:02:08 +0700 Subject: [PATCH] update dio to return bytes --- lib/src/utils/helpers.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/utils/helpers.dart b/lib/src/utils/helpers.dart index febee2d..4050167 100644 --- a/lib/src/utils/helpers.dart +++ b/lib/src/utils/helpers.dart @@ -39,6 +39,7 @@ class Helpers { BaseOptions( headers: link.headers, method: link.method, + responseType: ResponseType.bytes, ), ); Response response = await dio.request(