Skip to content

Commit

Permalink
change callbackURL to parsedUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
mdmohsin7 committed Jun 18, 2024
1 parent 099bf17 commit fd37dca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/datasource/remote/api/esr_callback_repository.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class ESRCallbackRepository extends HttpRepository {
Future<Result<bool>> 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);

Expand Down

0 comments on commit fd37dca

Please sign in to comment.