diff --git a/server/infra/database/RawCaptureRepository.ts b/server/infra/database/RawCaptureRepository.ts index 7e440f7f..37a6e1af 100644 --- a/server/infra/database/RawCaptureRepository.ts +++ b/server/infra/database/RawCaptureRepository.ts @@ -147,7 +147,8 @@ export default class RawCaptureRepository extends BaseRepository { `${this.tableName}.${sort?.order_by || 'created_at'}`, sort?.order || 'desc', ) - .where((builder) => this.filterWhereBuilder(filter, builder)); + .where((builder) => this.filterWhereBuilder(filter, builder)) + .distinct(); const { limit, offset } = options; if (limit) {