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/user/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/components/user/model.go') diff --git a/pkg/components/user/model.go b/pkg/components/user/model.go index ce1b3a5..0ff6d0a 100644 --- a/pkg/components/user/model.go +++ b/pkg/components/user/model.go @@ -27,7 +27,7 @@ type ( Repository interface { List(ctx context.Context) ([]*User, error) - Create(ctx context.Context, createUser *CreateUser) error + Create(ctx context.Context, createUser *CreateUser) (uint, error) Update(ctx context.Context, id uint, updateUser *UpdateUser) error Any(ctx context.Context) (bool, error) } -- cgit v1.2.3