mirror of
https://github.com/axllent/mailpit.git
synced 2025-01-26 03:52:09 +02:00
API: Include correct start value in search reponse
This commit is contained in:
parent
60ea473acb
commit
6dca57ba9b
@ -119,7 +119,7 @@ func Search(w http.ResponseWriter, r *http.Request) {
|
|||||||
|
|
||||||
var res MessagesSummary
|
var res MessagesSummary
|
||||||
|
|
||||||
res.Start = 0
|
res.Start = start
|
||||||
res.Messages = messages
|
res.Messages = messages
|
||||||
res.Count = len(messages)
|
res.Count = len(messages)
|
||||||
res.Total = stats.Total
|
res.Total = stats.Total
|
||||||
|
Loading…
x
Reference in New Issue
Block a user