Changed get verb for list in Plans methods

This commit is contained in:
Manuel Forcén Muñoz 2025-02-17 17:52:03 +01:00
parent efd337b6ce
commit 49a8fe3814
2 changed files with 2 additions and 2 deletions

View file

@ -36,7 +36,7 @@ func listPlans(c *gin.Context) {
if u == nil {
return
}
plans, err := u.GetPlans(db)
plans, err := u.ListPlans(db)
if err == nil {
c.JSON(http.StatusOK, plans)
} else {