From c9646f8b304430389016ad386060aafb1a83b2a4 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Thu, 9 Jul 2020 13:30:30 +0200 Subject: [PATCH] Fix missing check --- src/helpers/FriendsHelper.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/helpers/FriendsHelper.ts b/src/helpers/FriendsHelper.ts index 3631d59..f202017 100644 --- a/src/helpers/FriendsHelper.ts +++ b/src/helpers/FriendsHelper.ts @@ -55,6 +55,7 @@ export class FriendsHelper { table: FRIENDS_TABLE, where: { autoriser_post_page: 1, + actif: 1, ID_amis: userID }, fields: ["ID_personne as user_id"]