get claimId from publishResults
This commit is contained in:
parent
e542e6962d
commit
21551e6fbb
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue