fix result code
This commit is contained in:
@@ -27,5 +27,5 @@ func (h *Handler) GetOrganizations(c echo.Context) error {
|
||||
|
||||
h.DB.Find(&organizations)
|
||||
|
||||
return c.JSON(http.StatusCreated, organizations)
|
||||
return c.JSON(http.StatusOK, organizations)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user