diff --git a/backend/services/clubService.js b/backend/services/clubService.js index 4f975a2..b6604a7 100644 --- a/backend/services/clubService.js +++ b/backend/services/clubService.js @@ -90,7 +90,7 @@ class ClubService { return await UserClub.create({ userId: userId, clubId: clubId, - approved: false + approved: 0 }); } @@ -99,7 +99,7 @@ class ClubService { return await UserClub.findAll({ where: { clubId: clubId, - approved: false + approved: 0 }, include: [ {