order of operations
This commit is contained in:
parent
5b216452c7
commit
ffd14193b5
|
@ -31,7 +31,7 @@ async function sendMarketCloseEmails() {
|
||||||
return undefined
|
return undefined
|
||||||
|
|
||||||
transaction.update(doc.ref, {
|
transaction.update(doc.ref, {
|
||||||
closeEmailsSent: contract.closeEmailsSent ?? 0 + 1,
|
closeEmailsSent: (contract.closeEmailsSent ?? 0) + 1,
|
||||||
})
|
})
|
||||||
|
|
||||||
return contract
|
return contract
|
||||||
|
|
Loading…
Reference in New Issue
Block a user