Fix incorrect wrapping of subscriber handler
This commit is contained in:
parent
3048ab5afb
commit
693b939a72
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ func handleCreateSubscriber(c echo.Context) error {
|
||||||
// Hand over to the GET handler to return the last insertion.
|
// Hand over to the GET handler to return the last insertion.
|
||||||
c.SetParamNames("id")
|
c.SetParamNames("id")
|
||||||
c.SetParamValues(fmt.Sprintf("%d", subID))
|
c.SetParamValues(fmt.Sprintf("%d", subID))
|
||||||
return c.JSON(http.StatusOK, handleGetSubscriber(c))
|
return handleGetSubscriber(c)
|
||||||
}
|
}
|
||||||
|
|
||||||
// handleUpdateSubscriber handles modification of a subscriber.
|
// handleUpdateSubscriber handles modification of a subscriber.
|
||||||
|
|
Loading…
Reference in a new issue