refactoring token -> claim processing
This commit is contained in:
@@ -83,7 +83,7 @@ pub async fn clean_db_update(
|
||||
}
|
||||
if let Some(hotel_users) = state.ws_map.get(&hotel_id) {
|
||||
let update_msg = json!({
|
||||
"event-type": "room-update",
|
||||
"event_type": "room_update",
|
||||
"room_id": room_id,
|
||||
"status": payload.status,
|
||||
"updated_by": user_id,
|
||||
|
||||
Reference in New Issue
Block a user