Skip to content

Commit

Permalink
clean more
Browse files Browse the repository at this point in the history
  • Loading branch information
mojotalantikite committed Mar 7, 2024
1 parent b761dc1 commit 00c5763
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,10 @@ export async function submitContract(

// get the related rate revisions and any unsubmitted rates
const relatedRateRevs = currentRev.draftRates.map((c) => c.revisions[0])
console.info(`currentRev: ${JSON.stringify(currentRev, null, ' ')}`)
const unsubmittedRates = relatedRateRevs.filter(
(rev) => rev.submitInfo === null
)

console.info(unsubmittedRates)

return await client.$transaction(async (tx) => {
// Create the submitInfo record in the updateInfoTable
const submitInfo = await tx.updateInfoTable.create({
Expand Down

0 comments on commit 00c5763

Please sign in to comment.