fix: user domains view for staff
This commit is contained in:
parent
388ccbf58c
commit
65e5d5f4e9
2 changed files with 2 additions and 2 deletions
|
@ -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)),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue