Skip to content

Commit

Permalink
examples: minor change after #16948 (#16965)
Browse files Browse the repository at this point in the history
  • Loading branch information
enghitalo committed Jan 15, 2023
1 parent 7fd9b62 commit b25c9e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/vweb_orm_jwt/src/user_services.v
Expand Up @@ -26,6 +26,9 @@ fn (mut app App) service_add_user(username string, password string) ?User {

sql db {
insert user_model into User
} or {
eprintln(err)
return err
}

result := sql db {
Expand Down

0 comments on commit b25c9e8

Please sign in to comment.