mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-04-08 04:43:39 +00:00
Fix typo in structure name
This commit is contained in:
parent
4a3c9555b1
commit
955dd2c96d
1 changed files with 2 additions and 2 deletions
|
@ -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