change promo history

This commit is contained in:
Pavel 2024-03-03 21:26:46 +03:00
parent 0b17ab396f
commit 3a68da81e1

@ -26,7 +26,7 @@ func (r *StatsRepository) UpdateStatistics(ctx context.Context, req *models.Acti
return err
}
if count == 1 {
if count >= 1 {
return ErrPromoCodeAlreadyActivated
}