mirror of https://github.com/rwf2/Rocket.git
Fix fairing naming in database MySQL example.
This commit is contained in:
parent
fa79610bcd
commit
10b5da7035
|
@ -90,7 +90,7 @@ async fn destroy(mut db: Connection<Db>) -> Result<()> {
|
|||
}
|
||||
|
||||
pub fn stage() -> AdHoc {
|
||||
AdHoc::on_ignite("Diesel SQLite Stage", |rocket| async {
|
||||
AdHoc::on_ignite("Diesel MySQL Stage", |rocket| async {
|
||||
rocket.attach(Db::init())
|
||||
.mount("/diesel-async", routes![list, read, create, delete, destroy])
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue