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

Delete snapshots belonging to country where snapshots empty in GSheet tab #327

Closed daphnecys closed 4 years ago

daphnecys commented 4 years ago

Fix bug in previous commit where I cleard the cosmos db / mongo db of all records. Should only delete snapshots belonging to countries where snapshots are empty. Added new function in SnapshotRepository class to remove snapshots filtered by 2-letter ISO country code or 3-letter ISO country code.

netlify[bot] commented 4 years ago

Deploy preview for zen-joliot-eeb856 ready!

Built with commit 3790916de44533356cd4de5e0d7e004652c377b2

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