get claimId from publishResults

This commit is contained in:
Travis Eden 2018-08-15 16:28:46 -04:00
parent e542e6962d
commit 21551e6fbb

View file

@ -44,7 +44,8 @@ const publish = (publishParams, fileName, fileType) => {
})
.then(([fileRecord, claimRecord]) => {
// upsert the records
const {name, claim_id: claimId} = publishParams;
const {name} = publishParams;
const {claim_id: claimId} = publishResults;
const upsertCriteria = {
name,
claimId,