1
0
Fork 0

remove structs that only exist for their additional field

This commit is contained in:
Cyborus 2024-03-15 18:13:24 -04:00
parent d1aa5af564
commit cad6890128
No known key found for this signature in database
3 changed files with 23 additions and 67 deletions

View file

@ -4119,7 +4119,7 @@ impl crate::Forgejo {
&self,
owner: &str,
repo: &str,
) -> Result<RepoGetLanguagesResponse, ForgejoError> {
) -> Result<std::collections::BTreeMap<String, u64>, ForgejoError> {
let request = self
.get(&format!("repos/{owner}/{repo}/languages"))
.build()?;