From b9d75e22db72aabf47815e381aa6432c1bff3877 Mon Sep 17 00:00:00 2001 From: Tolmachev Igor Date: Mon, 1 Sep 2025 13:32:05 +0300 Subject: Add account endpoints --- src/state.rs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/state.rs (limited to 'src/state.rs') diff --git a/src/state.rs b/src/state.rs new file mode 100644 index 0000000..9779b46 --- /dev/null +++ b/src/state.rs @@ -0,0 +1,7 @@ +use sea_orm::DatabaseConnection; + +#[derive(Clone)] +pub struct AppState { + pub db: DatabaseConnection, + pub secret: String, +} -- cgit v1.2.3