mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-01-25 23:43:32 +01:00
Add simple auth (#186)
This commit is contained in:
@@ -33,7 +33,7 @@ func (s *Service) GetUserData(ctx context.Context, id string) (*model.UserDataRe
|
||||
}
|
||||
|
||||
func (s *Service) UpdateUserData(ctx context.Context, id string, data *model.UserData) (doc *model.UserDataResponse, err error) {
|
||||
defer s.publishRequest(ctx, err, "CreateUser", userDataResponseID(doc))
|
||||
defer s.publishRequest(ctx, err, "UpdateUserData", userDataResponseID(doc))
|
||||
|
||||
return s.database.UserDataUpdate(ctx, id, data)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user