Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hermannakos committed Aug 27, 2024
1 parent e4ebc15 commit 1a39dde
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ class WebContentInteractor {
}

Future<String> getAuthUrl(String targetUrl) async {
if (targetUrl.contains(ApiPrefs.getDomain()!)) {
final domain = ApiPrefs.getDomain();
if (domain != null && targetUrl.contains(domain)) {
return _authUrl(targetUrl);
} else {
return targetUrl;
Expand Down

0 comments on commit 1a39dde

Please sign in to comment.