Skip to content

Commit

Permalink
Saving a project now return the full object
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardoOliveira committed Dec 7, 2023
1 parent 3d5da82 commit 1329c44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/projects/endpoints.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func save(c echo.Context) error {
return c.NoContent(http.StatusInternalServerError)
}

return c.NoContent(http.StatusOK)
return c.JSON(http.StatusOK, pproject)
}

func new(c echo.Context) error {
Expand Down

0 comments on commit 1329c44

Please sign in to comment.