diff --git a/backend/src/controllers/club.go b/backend/src/controllers/club.go index 790e05383..e9b3d433d 100644 --- a/backend/src/controllers/club.go +++ b/backend/src/controllers/club.go @@ -29,7 +29,6 @@ func (cl *ClubController) GetAllClubs(c *fiber.Ctx) error { return c.Status(fiber.StatusOK).JSON(clubs) } - func (cl *ClubController) CreateClub(c *fiber.Ctx) error { var clubBody models.CreateClubRequestBody if err := c.BodyParser(&clubBody); err != nil { @@ -44,7 +43,6 @@ func (cl *ClubController) CreateClub(c *fiber.Ctx) error { return c.Status(fiber.StatusCreated).JSON(club) } - func (cl *ClubController) GetClub(c *fiber.Ctx) error { club, err := cl.clubService.GetClub(c.Params("clubID")) if err != nil { @@ -54,7 +52,6 @@ func (cl *ClubController) GetClub(c *fiber.Ctx) error { return c.Status(fiber.StatusOK).JSON(club) } - func (cl *ClubController) UpdateClub(c *fiber.Ctx) error { var clubBody models.UpdateClubRequestBody diff --git a/backend/src/transactions/club.go b/backend/src/transactions/club.go index 5b83fb4dc..4b2908ef1 100644 --- a/backend/src/transactions/club.go +++ b/backend/src/transactions/club.go @@ -124,4 +124,3 @@ func GetUserFollowersForClub(db *gorm.DB, club_id uuid.UUID) ([]models.User, *er } return users, nil } -