From 1ce0c8fdb7b6aa6f29ec8f5715d473cd95aeaba8 Mon Sep 17 00:00:00 2001 From: Robin Dittmar Date: Mon, 20 Jul 2026 22:10:37 +0200 Subject: [PATCH 1/2] indentation --- internal/domain/user.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/domain/user.go b/internal/domain/user.go index a4675b2..f7ebad4 100644 --- a/internal/domain/user.go +++ b/internal/domain/user.go @@ -31,11 +31,9 @@ func (s *UserService) CreateUser(ctx context.Context, email string, name string, if len(email) == 0 { return nil, errors.New("email is required") } - if len(name) == 0 { return nil, errors.New("name is required") } - if len(password) == 0 { return nil, errors.New("password is required") } From a9de24726acb40c34f235ee9337e62b572f1e666 Mon Sep 17 00:00:00 2001 From: Robin Dittmar Date: Mon, 20 Jul 2026 22:23:43 +0200 Subject: [PATCH 2/2] fix: always run service with UTC timezone --- cmd/api-server/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/api-server/main.go b/cmd/api-server/main.go index 0dbbb78..0c0df32 100644 --- a/cmd/api-server/main.go +++ b/cmd/api-server/main.go @@ -30,6 +30,8 @@ func main() { } func run(serviceName string, serviceVersion string) error { + time.Local, _ = time.LoadLocation("UTC") + _ = godotenv.Load(".env") setupLogging()