1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

examples: minor change after #16948 (#16965)

This commit is contained in:
Hitalo Souza 2023-01-14 22:39:51 -03:00 committed by GitHub
parent 7fd9b62b34
commit b25c9e8bbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {