Remove 100 default
parent
82df194858
commit
9a199ba179
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue