This commit is contained in:
Kingkor Roy Tirtho 2022-04-28 10:49:27 +06:00
parent d4706356e2
commit 46b5ec7c22
2 changed files with 2 additions and 2 deletions

View File

@ -216,7 +216,7 @@ jobs:
uses: dawidd6/action-get-tag@v1
with:
strip_v: true
- run: sudo apt-get tree -y
- run: sudo apt-get install tree -y
- run: tree .
- run: |
python3 spotube/scripts/update_flathub_version.py ${{ steps.tag.outputs.tag }}

View File

@ -90,7 +90,7 @@ Future<List?> searchSong(
String reqUrl = "$searchUrl${Uri.encodeComponent(song)}";
Map<String, String> headers = {"Authorization": 'Bearer $apiKey'};
var response = await http.get(
final response = await http.get(
Uri.parse(authHeader ? reqUrl : "$reqUrl&access_token=$apiKey"),
headers: authHeader ? headers : null,
);