From fbd6189721f379d90594e22c656c7a03c15d2fe6 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sun, 14 Jul 2024 20:42:20 -0400 Subject: [PATCH] GitHub search bugfix (#1705) --- lib/app_sources/github.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {