implemented use of auth on single room endpoint

This commit is contained in:
2025-09-25 06:00:09 +02:00
parent f315ffbe7b
commit 7828d4f515
6 changed files with 50 additions and 30 deletions

View File

@@ -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);