From 8e33fcdfbd9df042c0cfd8e9a2084993313961c9 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 2 Aug 2023 23:07:55 +0200 Subject: federated import works but relies on private data --- common/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/src/lib.rs') diff --git a/common/src/lib.rs b/common/src/lib.rs index 34de946..6f6caf5 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -19,7 +19,7 @@ pub struct Node { #[rustfmt::skip] #[derive(Debug, Clone, Deserialize, Serialize)] pub struct NodePrivate { - #[serde(default)] pub import: Option, + #[serde(default)] pub import: Option, #[serde(default)] pub poster: Option, #[serde(default)] pub backdrop: Option, #[serde(default)] pub source: Option, @@ -40,7 +40,7 @@ pub struct NodePublic { #[rustfmt::skip] #[derive(Debug, Clone, Deserialize, Serialize)] -pub struct ImportOptions { +pub struct RemoteImportOptions { pub host: String, pub id: String, #[serde(default)] pub prefix: Option, -- cgit v1.2.3-70-g09d2