mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 05:07:43 +00:00
parent
b7e5d3860c
commit
f8b6c062e8
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@ import (
|
|||
"context"
|
||||
"errors"
|
||||
"regexp"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
validation "github.com/go-ozzo/ozzo-validation/v4"
|
||||
|
@ -21,7 +22,7 @@ type Subreddit struct {
|
|||
}
|
||||
|
||||
func (sr *Subreddit) NormalizedName() string {
|
||||
return sr.Name
|
||||
return strings.ToLower(sr.Name)
|
||||
}
|
||||
|
||||
func validPrefix(value interface{}) error {
|
||||
|
|
Loading…
Reference in a new issue