Skip to content

Commit

Permalink
fix: Use actual GET request for fetching leaderboard
Browse files Browse the repository at this point in the history
  • Loading branch information
PraxTube committed Jan 20, 2024
1 parent 8bcf5af commit 0adb94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/leaderboard/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ fn send_get_request(
}
ev_data_posted.clear();

let req = reqwest.0.post(GET_URL).build().unwrap();
let req = reqwest.0.get(GET_URL).build().unwrap();
let req = ReqwestRequest::new(req);
commands.spawn((req, GetRequest));
}
Expand Down

0 comments on commit 0adb94f

Please sign in to comment.