From 71401a3767aeb30eb976b522b78a5a9525b42aa6 Mon Sep 17 00:00:00 2001 From: Drew Bednar Date: Sat, 18 Apr 2026 21:27:47 -0400 Subject: [PATCH] Fix a typo --- internal/model/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/model/user.go b/internal/model/user.go index 95be99d..b9b1ca1 100644 --- a/internal/model/user.go +++ b/internal/model/user.go @@ -56,7 +56,7 @@ func (u *UserService) Insert(name, email, password string) (int, error) { lastId, err := result.LastInsertId() if err != nil { - slog.Debug("An error occured when retrieving insert result id.") + slog.Debug("An error occurred when retrieving insert result id.") return 0, err } slog.Debug(fmt.Sprintf("Inserted new user. User pk: %d", int(lastId)))