main: Manage db pool state

Signed-off-by: supercmmetry <vishaals2000@gmail.com>
This commit is contained in:
supercmmetry committed 2020-06-24 14:36:52 +05:30
1 parent 2f904690b5
commit f5f4099e82
1 file changed
+3 -2
+3 -2
View File
@@ -31,6 +31,7 @@ fn main() {
rocket = api::routes::fuel(rocket);
rocket.manage(logger)
.launch();
rocket.manage(utils::db::pool())
.manage(logger)
.launch();
}