diff --git a/crates/app/src/public/html/mod/profile.lisp b/crates/app/src/public/html/mod/profile.lisp
index 529228a..5121fb9 100644
--- a/crates/app/src/public/html/mod/profile.lisp
+++ b/crates/app/src/public/html/mod/profile.lisp
@@ -367,7 +367,7 @@
DEFAULT: 1 << 0,
ADMINISTRATOR: 1 << 1,
MANAGE_DOMAINS: 1 << 2,
- MANAGE_SECONDARY: 1 << 3,
+ MANAGE_SERVICES: 1 << 3,
},
\"secondary_role\",
\"add_permission_to_secondary_role\",
diff --git a/crates/app/src/routes/pages/littleweb.rs b/crates/app/src/routes/pages/littleweb.rs
index d37a45a..61560d7 100644
--- a/crates/app/src/routes/pages/littleweb.rs
+++ b/crates/app/src/routes/pages/littleweb.rs
@@ -98,7 +98,7 @@ pub async fn domains_request(
));
}
- let list = match data.0.get_domains_by_user(user.id).await {
+ let list = match data.0.get_domains_by_user(profile.id).await {
Ok(x) => x,
Err(e) => return Err(Html(render_error(e, &jar, &data, &Some(user)).await)),
};