Skip to content

Commit

Permalink
fix: ok actually fix switchmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Fleeym committed Nov 13, 2024
1 parent 6ad544b commit e3c8b43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- name: Build
uses: geode-sdk/build-geode-mod@main
with:
sdk: nightly
export-pdb: true
combine: true
target: ${{ matrix.config.target }}
Expand Down
3 changes: 2 additions & 1 deletion src/download/youtube.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ DownloadTask startYoutubeDownload(const std::string& id) {
return DownloadTask::immediate(Err("Invalid YouTube ID"));
}

return getMetadata(id).chain([](web::WebResponse* r) { return onMetadata(r); });
return getMetadata(id).chain(
[](web::WebResponse* r) { return onMetadata(r); });
}

} // namespace download
Expand Down

0 comments on commit e3c8b43

Please sign in to comment.