update
This commit is contained in:
parent
1e67f223f7
commit
0bdf75446d
4 changed files with 58 additions and 2 deletions
|
@ -53,7 +53,7 @@ impl User {
|
|||
role,
|
||||
};
|
||||
|
||||
u.insert().await.unwrap();
|
||||
u.insert().await.ok()?;
|
||||
|
||||
Some(u)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue