aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-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 {