Skip to content

Commit

Permalink
Merge pull request #75 from starknet-id/feat/implement_achievements
Browse files Browse the repository at this point in the history
ref: add img_url in BuildingDocument
  • Loading branch information
Th0rgal authored Aug 31, 2023
2 parents 424653b + aaa9f76 commit 5712255
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/verify_has_nft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ pub async fn execute_has_nft(
Ok(unique_nfts.len() >= limit as usize)
}
Err(e) => Err(format!(
"Failed to deserialize result from Starkscan API: {}",
e
"Failed to deserialize result from Starkscan API: {} for response: {}",
e, text
)),
}
}
Expand Down
1 change: 1 addition & 0 deletions src/models.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,5 @@ pub_struct!(Debug, Deserialize, Serialize; BuildingDocument {
description: String,
entity: String,
level: u32,
img_url: String,
});

0 comments on commit 5712255

Please sign in to comment.