Skip to content

Commit 558948f

Browse files
committed
fix: reveiw
Signed-off-by: Umberto Sgueglia <usgueglia@contractor.linuxfoundation.org>
1 parent 556780c commit 558948f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

backend/src/database/repositories/memberRepository.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,12 @@ class MemberRepository {
294294
if (segmentIds.length === 0) {
295295
return args.countOnly
296296
? { count: 0 }
297-
: { rows: [], count: 0, limit: args.limit, offset: args.offset }
297+
: {
298+
rows: [{ members: [], similarity: 0 }],
299+
count: 0,
300+
limit: args.limit,
301+
offset: args.offset,
302+
}
298303
}
299304

300305
let similarityFilter = ''

0 commit comments

Comments
 (0)