Skip to content

Commit 2874b97

Browse files
committed
fix: Accidentally moved request when setting the header
Signed-off-by: quexeky <[email protected]>
1 parent afcd4e9 commit 2874b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-tauri/src/games/downloads/download_logic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ pub fn download_game_chunk(
127127
progress.set(0);
128128
return Ok(false);
129129
}
130-
request.header("Authorization", generate_authorization_header());
130+
let request = request.header("Authorization", generate_authorization_header());
131131

132132
let response = request
133133
.send()

0 commit comments

Comments
 (0)