Rever safe results handling

This commit is contained in:
Manuel Cillero 2023-10-26 15:12:24 +02:00
parent 46ccbc10eb
commit ce3e0257bf
7 changed files with 66 additions and 135 deletions

View file

@ -60,7 +60,6 @@ impl MigrationTrait for Migration {
.values_panic(vec!["administrator".into(), "3".into()]),
)
.await
.unwrap_or_error(|e| DbErr::Custom(e.message()))
.map(|_| ())
}