Skip to content

Commit

Permalink
custom_subscription: service: corrected validate description
Browse files Browse the repository at this point in the history
  • Loading branch information
PtFux committed Dec 18, 2024
1 parent d2fc117 commit 33cccb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/custom_subscription/service/create_custom_sub.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func (b *Behavior) validateCustomSub(title, description string, layer, cost int)
return title, description, errors.Wrap(err, "title")
}

description, ok = validate.Description(title)
description, ok = validate.Description(description)
if !ok {
return title, description, errors.Wrap(err, "description")
}
Expand Down

0 comments on commit 33cccb3

Please sign in to comment.