mirror of
https://github.com/status-im/infra-utils.git
synced 2025-02-23 17:38:12 +00:00
set ipfsHash instead of hash to not break contract
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
93ca2c0094
commit
5639ea9fb2
@ -15,7 +15,7 @@ const ipfsUpload = async (ipfs, data) => {
|
||||
const updateDapp = async (dbCol, oldHash, newHash) => {
|
||||
return dbCol.updateOne(
|
||||
{hash: oldHash},
|
||||
{'$set': {hash: newHash}}
|
||||
{'$set': {ipfsHash: newHash}}
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user