Skip to content

Commit 48d1012

Browse files
committed
Fix limit
1 parent 02be425 commit 48d1012

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

api/pkg/requests/message_outstanding_request.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ func (input *MessageOutstanding) Sanitize() MessageOutstanding {
1717
if strings.TrimSpace(input.Limit) == "" {
1818
input.Limit = "1"
1919
}
20+
21+
if input.Limit != "1" {
22+
input.Limit = "2"
23+
}
24+
2025
return *input
2126
}
2227

0 commit comments

Comments
 (0)