aboutsummaryrefslogtreecommitdiff
path: root/pkg/components/user
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/components/user')
-rw-r--r--pkg/components/user/model.go2
1 files changed, 1 insertions, 1 deletions
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)
}