aboutsummaryrefslogtreecommitdiff
path: root/common/src/api.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2026-03-07 13:34:04 +0100
committermetamuffin <metamuffin@disroot.org>2026-03-07 13:34:04 +0100
commit3a6205f6077c1555f2f3bcf308f5e9605b8dbf53 (patch)
tree0742ed69f9abf8973ee62291ba0984e7caffae18 /common/src/api.rs
parent4ce6d64648634bd8d22e8ed0676e0e5b22947dc3 (diff)
downloadjellything-3a6205f6077c1555f2f3bcf308f5e9605b8dbf53.tar
jellything-3a6205f6077c1555f2f3bcf308f5e9605b8dbf53.tar.bz2
jellything-3a6205f6077c1555f2f3bcf308f5e9605b8dbf53.tar.zst
reenable node page extras
Diffstat (limited to 'common/src/api.rs')
-rw-r--r--common/src/api.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/api.rs b/common/src/api.rs
index bf79cc0..9cf5e04 100644
--- a/common/src/api.rs
+++ b/common/src/api.rs
@@ -12,7 +12,7 @@ use std::collections::BTreeMap;
pub struct Nku<'a> {
pub node: Cow<'a, Object>,
pub userdata: Cow<'a, Object>,
- pub role: Option<&'a str>,
+ pub role: Option<Cow<'a, str>>,
}
pub struct Stats {