From c2a13f7b4a30f6d0e9b3d2396a722e6bc226c466 Mon Sep 17 00:00:00 2001 From: souravbhowmik1999 Date: Wed, 10 Jul 2024 14:36:28 +0530 Subject: [PATCH] add comment for perticular function --- src/adapters/postgres/user-adapter.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/adapters/postgres/user-adapter.ts b/src/adapters/postgres/user-adapter.ts index 46858b30..2cc30762 100644 --- a/src/adapters/postgres/user-adapter.ts +++ b/src/adapters/postgres/user-adapter.ts @@ -141,6 +141,8 @@ export class PostgresUserService implements IServicelocator { } let getUserIdUsingCustomFields; + + //If source config in source details from fields table is not exist then return false if (Object.keys(searchCustomFields).length > 0) { getUserIdUsingCustomFields = await this.fieldsService.filterUserUsingCustomFields(searchCustomFields); if (getUserIdUsingCustomFields.length == 0) {