summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-01-10 19:08:42 +0100
committerCyborus <cyborus@cyborus.xyz>2024-01-10 19:08:42 +0100
commit470ef04f7cd6fac8a8b57e28d76319d78eb15fac (patch)
tree4c1767bb68365c3ffb9459578f33341419ae0d73 /src
parentremove unnecessary "the" (diff)
downloadforgejo-api-470ef04f7cd6fac8a8b57e28d76319d78eb15fac.tar.xz
forgejo-api-470ef04f7cd6fac8a8b57e28d76319d78eb15fac.zip
add missing `parent` field to `Repository`
Diffstat (limited to 'src')
-rw-r--r--src/repository.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/repository.rs b/src/repository.rs
index 3e2d1a0..eb638ac 100644
--- a/src/repository.rs
+++ b/src/repository.rs
@@ -343,6 +343,7 @@ pub struct Repository {
#[serde(deserialize_with = "crate::none_if_blank_url")]
pub original_url: Option<Url>,
pub owner: User,
+ pub parent: Option<Box<Repository>>,
pub permissions: Permission,
pub private: bool,
pub release_counter: u64,