mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-15 02:43:09 -06:00
Fix typo in structure name
This commit is contained in:
parent
4a3c9555b1
commit
955dd2c96d
|
|
@ -45,7 +45,7 @@ type messagesReq struct {
|
|||
backwardOrdering bool
|
||||
}
|
||||
|
||||
type messageResp struct {
|
||||
type messagesResp struct {
|
||||
Start string `json:"start"`
|
||||
End string `json:"end"`
|
||||
Chunk []gomatrixserverlib.ClientEvent `json:"chunk"`
|
||||
|
|
@ -153,7 +153,7 @@ func OnIncomingMessagesRequest(
|
|||
// Respond with the events.
|
||||
return util.JSONResponse{
|
||||
Code: http.StatusOK,
|
||||
JSON: messageResp{
|
||||
JSON: messagesResp{
|
||||
Chunk: clientEvents,
|
||||
Start: start.String(),
|
||||
End: end.String(),
|
||||
|
|
|
|||
Loading…
Reference in a new issue