diff --git a/lib/app_sources/github.dart b/lib/app_sources/github.dart index 546cf1d..2f0fb42 100644 --- a/lib/app_sources/github.dart +++ b/lib/app_sources/github.dart @@ -171,7 +171,7 @@ class GitHub extends AppSource { {bool forAPKDownload = false}) async { var token = await getTokenIfAny(additionalSettings); var headers = {}; - if (token != null) { + if (token != null && token.isNotEmpty) { headers[HttpHeaders.authorizationHeader] = 'Token $token'; } if (forAPKDownload == true) {