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);