allow users to sign up multiple times without throwing a 500
This commit is contained in:
parent
275f0ae492
commit
c3cf056fc5
3 changed files with 35 additions and 22 deletions
|
@ -338,7 +338,7 @@ async fn create_signup(
|
|||
Json(params): Json<Signup>,
|
||||
Extension(app): Extension<Arc<AppState>>,
|
||||
) -> Result<()> {
|
||||
app.db.create_signup(params).await?;
|
||||
app.db.create_signup(¶ms).await?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue