Code-for-All / lockdown

Project Lockdown (an initiative from The IO Foundation) is a civic tech, interactive platform providing an overview of the state of Human and Digital Rights around the globe. It evaluates policies obtained from high quality sources that may impact their observance. It provides, among other tools, a layered map interface that allows for a visual representation of the policies adopted, assisting a broad range of stakeholders in understanding the global state of their Rights. This empowers them to become active agents of global change.
https://ProjectLockdown.world
Apache License 2.0
28 stars 30 forks source link

Bug fix: updateMany atomic operators MongoError. using insertMany instead. #351

Closed daphnecys closed 4 years ago

daphnecys commented 4 years ago

Since we removed snapshots prior to inserting, we don't need to use updateMany. using insertMany instead. Added try / catch, fix updateMany MongoError: the update operation document must contain atomic operators.

netlify[bot] commented 4 years ago

Deploy preview for zen-joliot-eeb856 ready!

Built with commit 2590e307403816982d8aa14326a67134b5d97293

https://deploy-preview-351--zen-joliot-eeb856.netlify.app