Remove 100 default

This commit is contained in:
Kegan Dougal 2021-02-06 17:05:00 +00:00
parent 82df194858
commit 9a199ba179

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,