added room actions: leave, delete and transfer ownership
This commit is contained in:
@@ -27,6 +27,12 @@ pub struct User {
|
||||
pub email: String,
|
||||
}
|
||||
|
||||
#[derive(sqlx::FromRow, serde::Serialize)]
|
||||
pub struct UserProfile {
|
||||
pub uuid: Uuid,
|
||||
pub username: String,
|
||||
}
|
||||
|
||||
#[derive(serde::Deserialize)]
|
||||
pub struct LoginPayload {
|
||||
pub email: String,
|
||||
|
||||
Reference in New Issue
Block a user