mirror of
https://github.com/stoatchat/stoatchat.git
synced 2026-07-14 13:36:59 +00:00
fix: should be foreign
This commit is contained in:
@@ -26,5 +26,5 @@ pub async fn req(
|
||||
.map_err(|_| Error::InvalidCredentials)?;
|
||||
|
||||
user.update_username(db, data.username).await?;
|
||||
Ok(Json(user))
|
||||
Ok(Json(user.foreign()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user