Skip to content

Instantly share code, notes, and snippets.

@atakangah
Created July 12, 2020 11:50
Show Gist options
  • Save atakangah/1fb5f3aeb7cdd94e12dc04e2a4a8e2b8 to your computer and use it in GitHub Desktop.
Save atakangah/1fb5f3aeb7cdd94e12dc04e2a4a8e2b8 to your computer and use it in GitHub Desktop.
This shows fixes on await demon 2
try {
//Update new system status
await System.updateOne({ 'systemId': SYSTEM_ID }, system[0], { upsert: true }).exec();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment