Skip to content

Commit 4ac8ffd

Browse files
committed
Fix: correct task field
1 parent cca33fd commit 4ac8ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub async fn fetch_leaderboards(client: &Client) -> Result<Vec<LeaderboardItem>>
5858
let name = lb["name"]
5959
.as_str()
6060
.ok_or_else(|| anyhow!("Invalid JSON structure"))?;
61-
let description = task["description"]
61+
let description = lb["description"]
6262
.as_str()
6363
.ok_or_else(|| anyhow!("Invalid JSON structure"))?;
6464

0 commit comments

Comments
 (0)