mirror of
https://github.com/n08i40k/schedule-parser-rusted.git
synced 2025-12-06 09:47:50 +03:00
feat(database)!: switch from diesel to sea-orm
This commit is contained in:
@@ -12,8 +12,6 @@ use utoipa_rapidoc::RapiDoc;
|
||||
|
||||
mod state;
|
||||
|
||||
mod database;
|
||||
|
||||
mod extractors;
|
||||
mod middlewares;
|
||||
mod routes;
|
||||
@@ -72,7 +70,7 @@ pub fn get_api_scope<
|
||||
async fn async_main() -> io::Result<()> {
|
||||
info!("Запуск сервера...");
|
||||
|
||||
let app_state = new_app_state().await.unwrap();
|
||||
let app_state = new_app_state(None).await.unwrap();
|
||||
|
||||
HttpServer::new(move || {
|
||||
let (app, api) = App::new()
|
||||
|
||||
Reference in New Issue
Block a user