Fixed where condition for not approved user list
This commit is contained in:
@@ -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: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user