fix: Move Authorization header generation to download_game_chunk()

Signed-off-by: quexeky <git@quexeky.dev>
This commit is contained in:
quexeky
2025-06-25 06:53:42 +10:00
parent 6d295bd47f
commit 885fa42ecc
2 changed files with 6 additions and 2 deletions

View File

@ -274,7 +274,7 @@ impl GameDownloadAgent {
("name", &context.file_name),
("chunk", &context.index.to_string()),
],
|r| r.header("Authorization", generate_authorization_header()),
|r| { r },
) {
Ok(request) => request,
Err(e) => {