mirror of
https://github.com/ImranR98/Obtainium.git
synced 2025-07-13 13:26:43 +02:00
GitHub search bugfix (#1705)
This commit is contained in:
@ -171,7 +171,7 @@ class GitHub extends AppSource {
|
||||
{bool forAPKDownload = false}) async {
|
||||
var token = await getTokenIfAny(additionalSettings);
|
||||
var headers = <String, String>{};
|
||||
if (token != null) {
|
||||
if (token != null && token.isNotEmpty) {
|
||||
headers[HttpHeaders.authorizationHeader] = 'Token $token';
|
||||
}
|
||||
if (forAPKDownload == true) {
|
||||
|
Reference in New Issue
Block a user