add: user account warnings
This commit is contained in:
parent
535a854a47
commit
5995aaf31c
16 changed files with 459 additions and 1 deletions
|
@ -27,7 +27,7 @@ pub async fn create_request(
|
|||
match data.create_ipban(IpBan::new(ip, user.id, req.reason)).await {
|
||||
Ok(_) => Json(ApiReturn {
|
||||
ok: true,
|
||||
message: "IP ban deleted".to_string(),
|
||||
message: "IP ban created".to_string(),
|
||||
payload: (),
|
||||
}),
|
||||
Err(e) => Json(e.into()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue