feat: birthday validation integrated into profile

This commit is contained in:
2025-08-03 00:22:01 +03:00
parent 3a63a14c4d
commit b24ffcf3f8
5 changed files with 26 additions and 3 deletions

View File

@@ -126,7 +126,6 @@ func (p *profileServiceImpl) GetProfileSettings(cinfo dto.ClientInfo) (*dto.Prof
return profileSettingsDto, nil
}
// XXX: no validation for timestamps' allowed ranges
func (p *profileServiceImpl) UpdateProfile(cinfo dto.ClientInfo, newProfile dto.NewProfileDto) (bool, error) {
helper, db, err := database.NewDbHelperTransaction(p.dbctx); if err != nil {
p.log.Error(