From fd37dcaad3f72a45063374edec560bc2ea80eddf Mon Sep 17 00:00:00 2001 From: Mohammed Mohsin <59914433+mdmohsin7@users.noreply.github.com> Date: Tue, 18 Jun 2024 22:38:35 +0530 Subject: [PATCH] change `callbackURL` to `parsedUrl` --- lib/datasource/remote/api/esr_callback_repository.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/datasource/remote/api/esr_callback_repository.dart b/lib/datasource/remote/api/esr_callback_repository.dart index ced4dc530..e5e6efe7f 100644 --- a/lib/datasource/remote/api/esr_callback_repository.dart +++ b/lib/datasource/remote/api/esr_callback_repository.dart @@ -37,8 +37,8 @@ class ESRCallbackRepository extends HttpRepository { Future> callback(String callbackUrl, String transactionId) { print("[http] issue callback $callbackUrl"); - final callbackURL = fillTemplate(callbackUrl, transactionId); - final uri = Uri.parse(callbackURL); + final parsedUrl = fillTemplate(callbackUrl, transactionId); + final uri = Uri.parse(parsedUrl); final params = jsonEncode(uri.queryParameters); final postURI = Uri(scheme: uri.scheme, host: uri.host, path: uri.path);