Skip to content

Commit

Permalink
Delete create user init tenants feild
Browse files Browse the repository at this point in the history
  • Loading branch information
Cairry authored Aug 1, 2024
1 parent b2a12af commit 35e4e5b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/repo/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ func (ur UserRepo) Get(r models.MemberQuery) (models.Member, bool, error) {
}

func (ur UserRepo) Create(r models.Member) error {
var ts = &[]string{}
r.Tenants = ts
err := ur.g.Create(models.Member{}, r)
if err != nil {
return err
Expand Down

0 comments on commit 35e4e5b

Please sign in to comment.