summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyborus <cyborus@noreply.codeberg.org>2024-01-10 19:10:39 +0100
committerCyborus <cyborus@noreply.codeberg.org>2024-01-10 19:10:39 +0100
commitcf70a331d79e371631c95683f2e9f262ce8d94a3 (patch)
tree4c1767bb68365c3ffb9459578f33341419ae0d73
parentremove unnecessary "the" (diff)
parentadd missing `parent` field to `Repository` (diff)
downloadforgejo-api-cf70a331d79e371631c95683f2e9f262ce8d94a3.tar.xz
forgejo-api-cf70a331d79e371631c95683f2e9f262ce8d94a3.zip
Merge pull request 'add missing `parent` field to `Repository`' (#36) from parent into main
Reviewed-on: https://codeberg.org/Cyborus/forgejo-api/pulls/36
-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,