multi-hotel-refactor #3

Merged
Romain merged 27 commits from multi-hotel-refactor into master 2026-03-11 13:32:43 +00:00
12 changed files with 17 additions and 2 deletions
Showing only changes of commit 61039503d9 - Show all commits

BIN
db/1 copy.sqlite Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
db/auth_demo.sqlite Normal file

Binary file not shown.

BIN
db/demo-db/1 copy.sqlite Normal file

Binary file not shown.

BIN
db/demo-db/auth_demo.sqlite Normal file

Binary file not shown.

View File

@@ -494,7 +494,7 @@ pub async fn create_refresh_token(
}, },
) { ) {
Ok(cr) => cr, Ok(cr) => cr,
Err(_) => return Err((StatusCode::INTERNAL_SERVER_ERROR, "error fetching credentials".to_string())), Err(e) => return Err((StatusCode::INTERNAL_SERVER_ERROR, format!("error fetching credentials: {e}").to_string())),
}; };

View File

@@ -48,9 +48,24 @@ docker run \
rust-api:1.0.3 rust-api:1.0.3
FORM UBUNUTU REMOTE HOST
sudo docker run -d \
--name hotel-demo \
-e JWT_SECRET=your_jwt_secret_key \
-v "/var/lib/hotel-api/db:/app/db" \
-p 5090:7080 \
hotel-demo:1.0.0
FOR WINDOWS
vvvv
sudo docker run `
--name hotel-demo `
-e JWT_SECRET=your_jwt_secret_key `
-v "/var/lib/hotel-api/db:/app/db" `
-p 5090:5090 `
hotel-demo:1.0.0