Fixed where condition for not approved user list

This commit is contained in:
Torsten Schulz
2024-09-25 17:59:59 +02:00
parent 1cbb1971c8
commit 11a5a5e60e

View File

@@ -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: [
{