Migrate checkin to user service

Signed-off-by: Asai Neko <sugar@sne.moe>
This commit is contained in:
2025-12-25 20:30:21 +08:00
parent 9e649d83e5
commit bfeb46a61f
7 changed files with 18 additions and 20 deletions

View File

@@ -78,11 +78,11 @@ func (self *User) Create() error {
}
type UserUpdateInput struct {
Email *string
Nickname *string
Subtitle *string
Avatar *string
Type *string
Email *string `json:"email"`
Nickname *string `json:"nickname"`
Subtitle *string `json:"subtitle"`
Avatar *string `json:"avatar"`
Type *string `json:"type"`
}
func (self *User) UpdateByUserID(userID uuid.UUID, in *UserUpdateInput) error {