Skip to content

Commit 82519ab

Browse files
fix: add newline to db switch
1 parent 53f153d commit 82519ab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/routes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ pub async fn switch_db(
189189
tracing::error!("Failed to update .env file: {}", e);
190190
}
191191

192-
(StatusCode::OK, format!("Database switched to {filename}")).into_response()
192+
(StatusCode::OK, format!("Database switched to {filename}\n")).into_response()
193193
}
194194

195195
#[derive(RustEmbed, Clone)]

0 commit comments

Comments
 (0)