aboutsummaryrefslogtreecommitdiff
path: root/pkg/components/auth/controller.go
diff options
context:
space:
mode:
authorGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-26 22:59:03 +0200
committerGabriel Arakaki Giovanini <mail@gabrielgio.me>2023-06-26 22:59:03 +0200
commit9ba53fea71728ce64342d0d59f4199876e4b6164 (patch)
tree5f06ef37ab8ac3d01a3a7c21b5c71b1e9fc11643 /pkg/components/auth/controller.go
parent4d930c0c8cb585979798fac2bb254f991faa62fb (diff)
downloadlens-9ba53fea71728ce64342d0d59f4199876e4b6164.tar.gz
lens-9ba53fea71728ce64342d0d59f4199876e4b6164.tar.bz2
lens-9ba53fea71728ce64342d0d59f4199876e4b6164.zip
feat: Partially fix test
This will totally be fixed later.
Diffstat (limited to 'pkg/components/auth/controller.go')
-rw-r--r--pkg/components/auth/controller.go2
1 files changed, 1 insertions, 1 deletions
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),