Skip to content

Commit fe24cc5

Browse files
committed
[lint] fix more issues
1 parent 5deca89 commit fe24cc5

File tree

1 file changed

+1
-1
lines changed
  • internal/sms-gateway/handlers/messages

1 file changed

+1
-1
lines changed

internal/sms-gateway/handlers/messages/params.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type thirdPartyGetQueryParams struct {
2323

2424
func (p *thirdPartyGetQueryParams) Validate() error {
2525
if p.StartDate != "" && p.EndDate != "" && p.StartDate > p.EndDate {
26-
return errors.New("`from` date must be before `to` date") //nolint:err113 // won't used directly
26+
return errors.New("`from` date must be before `to` date") //nolint:err113 // won't be used directly
2727
}
2828

2929
return nil

0 commit comments

Comments
 (0)