Remove 100 default

main
Kegan Dougal 2021-02-06 17:05:00 +00:00
parent 82df194858
commit 9a199ba179
1 changed files with 0 additions and 3 deletions

View File

@ -144,9 +144,6 @@ func spacesHandler(
if resErr := chttputil.UnmarshalJSONRequest(req, &r); resErr != nil { if resErr := chttputil.UnmarshalJSONRequest(req, &r); resErr != nil {
return *resErr return *resErr
} }
if r.Limit > 100 {
r.Limit = 100
}
w := walker{ w := walker{
req: &r, req: &r,
rootRoomID: roomID, rootRoomID: roomID,