don't set limit to zero on --stream

This commit is contained in:
fiatjaf 2024-08-03 10:52:46 -03:00
parent 928c73513c
commit 84965f2253

2
req.go
View File

@ -240,7 +240,7 @@ example:
if limit := c.Uint("limit"); limit != 0 {
filter.Limit = int(limit)
} else if c.IsSet("limit") || c.Bool("stream") {
} else if c.IsSet("limit") {
filter.LimitZero = true
}