mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
[CD]
This commit is contained in:
parent
d4706356e2
commit
46b5ec7c22
2
.github/workflows/release-build.yml
vendored
2
.github/workflows/release-build.yml
vendored
@ -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 }}
|
||||
|
@ -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,
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user