fix result code

This commit is contained in:
andrusyakka
2023-07-05 18:42:41 +03:00
parent a8be97985a
commit d6e21f7f38

View File

@@ -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)
}