From 9ba53fea71728ce64342d0d59f4199876e4b6164 Mon Sep 17 00:00:00 2001 From: Gabriel Arakaki Giovanini Date: Mon, 26 Jun 2023 22:59:03 +0200 Subject: feat: Partially fix test This will totally be fixed later. --- pkg/components/auth/controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/components/auth/controller.go') diff --git a/pkg/components/auth/controller.go b/pkg/components/auth/controller.go index 2f30fb5..a33d9b3 100644 --- a/pkg/components/auth/controller.go +++ b/pkg/components/auth/controller.go @@ -67,7 +67,7 @@ func (c *Controller) InitialRegister(ctx context.Context, username, password []b return err } - err = c.userRepository.Create(ctx, &user.CreateUser{ + _, err = c.userRepository.Create(ctx, &user.CreateUser{ Username: string(username), Password: hash, Path: string(path), -- cgit v1.2.3