add join role endpoint and persistency for hubs
This commit is contained in:
@@ -17,6 +17,7 @@ const (
|
||||
profileBg
|
||||
hubIcon
|
||||
hubBackground
|
||||
channelIcon
|
||||
)
|
||||
|
||||
func validCheckWithResponseOnFail(response http.ResponseWriter, request *http.Request, pt bodyLimit) bool {
|
||||
@@ -37,6 +38,9 @@ func validCheckWithResponseOnFail(response http.ResponseWriter, request *http.Re
|
||||
case hubBackground:
|
||||
maxSize = int64(config.MaxRequestWithHubBackgroundBytes)
|
||||
break
|
||||
case channelIcon:
|
||||
maxSize = int64(config.MaxRequestWithHubIconBytes)
|
||||
break
|
||||
default:
|
||||
maxSize = int64(config.MaxRequestBytes)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user