Skip to content
Snippets Groups Projects
Unverified Commit 64121499 authored by Angelo Capossele's avatar Angelo Capossele Committed by GitHub
Browse files

Update plugins/webapi/message/plugin.go


Co-Authored-By: default avatarLuca Moser <moser.luca@gmail.com>
parent 31b4737b
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,7 @@ func findMessageById(c echo.Context) error {
return c.JSON(http.StatusOK, Response{Messages: result})
}
// Response is the HTTP response containing the queried messages.
type Response struct {
Messages []Message `json:"messages,omitempty"`
Error string `json:"error,omitempty"`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment