Skip to content

Commit

Permalink
Merge branch 'fix/backend/001/fix_claimsfeed2' of https://github.com/…
Browse files Browse the repository at this point in the history
…Whats-Cookin/trust_claim_backend into fix/backend/001/fix_claimsfeed2
  • Loading branch information
AhmedAbdelmenam committed Aug 4, 2024
2 parents 78e1d9f + f65083c commit 798d469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dao/api.dao.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ export class NodeDao {
LEFT JOIN "Node" as n3 ON e2."endNodeId" = n3.id
LEFT JOIN "ClaimData" as cd ON c.id = cd."claimId"
LEFT JOIN "Image" as i ON c.id = i."claimId"
${Prisma.raw(whereClause)}
ORDER BY c."effectiveDate" DESC
LIMIT ${limit}
Expand Down Expand Up @@ -335,7 +336,6 @@ export class NodeDao {
}

const claimIdMap = sourceLinkMap.get(entry.source_link)!;

if (!claimIdMap.has(entry.claim_id)) {
claimIdMap.set(entry.claim_id, entry);
}
Expand Down

0 comments on commit 798d469

Please sign in to comment.