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