implemented use of auth on single room endpoint
This commit is contained in:
@@ -10,8 +10,6 @@ use serde::Deserialize;
|
||||
#[derive(Deserialize, Debug)]
|
||||
pub struct UpdateRoomValues {
|
||||
pub status: String,
|
||||
pub token: String,
|
||||
pub hotel_id: i32,
|
||||
}
|
||||
|
||||
pub struct UpdateRoomPayload(pub UpdateRoomValues);
|
||||
|
||||
Reference in New Issue
Block a user