summaryrefslogtreecommitdiff
path: root/src/api/core/folders.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/core/folders.rs')
-rw-r--r--src/api/core/folders.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/core/folders.rs b/src/api/core/folders.rs
index fd9ce6a0..9766d7a1 100644
--- a/src/api/core/folders.rs
+++ b/src/api/core/folders.rs
@@ -41,6 +41,7 @@ async fn get_folder(uuid: &str, headers: Headers, mut conn: DbConn) -> JsonResul
#[serde(rename_all = "camelCase")]
pub struct FolderData {
pub name: String,
+ pub id: Option<String>,
}
#[post("/folders", data = "<data>")]