make it work with changed db model, but no select yet
This commit is contained in:
@@ -293,8 +293,6 @@ async fn update(
|
||||
data: Form<UserEditForm<'_>>,
|
||||
admin: ManageUserUser,
|
||||
) -> Flash<Redirect> {
|
||||
println!("{data:#?}");
|
||||
|
||||
let user = User::find_by_id(db, data.id).await;
|
||||
Log::create(
|
||||
db,
|
||||
|
Reference in New Issue
Block a user