main: Manage db pool state
Signed-off-by: supercmmetry <vishaals2000@gmail.com>
This commit is contained in:
parent
2f904690b5
commit
f5f4099e82
@ -31,6 +31,7 @@ fn main() {
|
|||||||
|
|
||||||
rocket = api::routes::fuel(rocket);
|
rocket = api::routes::fuel(rocket);
|
||||||
|
|
||||||
rocket.manage(logger)
|
rocket.manage(utils::db::pool())
|
||||||
.launch();
|
.manage(logger)
|
||||||
|
.launch();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user