mirror of
https://github.com/actix/examples
synced 2025-09-02 11:56:38 +02:00
upgrade example to actix-web 0.7
This commit is contained in:
@@ -35,7 +35,7 @@ use db::{CreateUser, DbExecutor};
|
||||
|
||||
/// State with DbExecutor address
|
||||
struct AppState {
|
||||
db: Addr<Syn, DbExecutor>,
|
||||
db: Addr<DbExecutor>,
|
||||
}
|
||||
|
||||
/// Async request handler
|
||||
|
Reference in New Issue
Block a user