chore: Progress on caching

This commit is contained in:
quexeky
2025-01-29 16:55:14 +11:00
parent e204ff30b4
commit 810fbdfe49
7 changed files with 953 additions and 68 deletions

View File

@ -69,7 +69,7 @@ pub struct StatsUpdateEvent {
pub fn fetch_library_logic(app: AppHandle) -> Result<Vec<Game>, RemoteAccessError> {
let header = generate_authorization_header();
let client = reqwest::blocking::Client::new();
let client = reqwest::blocking::Client::builder().;
let response = make_request(&client, &["/api/v1/client/user/library"], &[], |f| {
f.header("Authorization", header)
})?