Skip to content

Commit

Permalink
handle repeat record_blobs
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Nov 2, 2023
1 parent 822feb2 commit c3a4673
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/pds/src/api/com/atproto/temp/importRepo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const importRepo = async (
? actorStore.db.db
.insertInto('record_blob')
.values(blobValues)
.onConflict((oc) => oc.doNothing())
.execute()
: Promise.resolve()
await Promise.all([indexRecord, indexRecordBlobs])
Expand Down

0 comments on commit c3a4673

Please sign in to comment.