Skip to content

Instantly share code, notes, and snippets.

@ryanpedersen42
Last active September 11, 2019 00:43
Show Gist options
  • Select an option

  • Save ryanpedersen42/f1ed2f548b5b88dd44dcfeb474e905c1 to your computer and use it in GitHub Desktop.

Select an option

Save ryanpedersen42/f1ed2f548b5b88dd44dcfeb474e905c1 to your computer and use it in GitHub Desktop.
From 3Box-js
const decryptEntry = async encObj => JSON.parse(await threeId.decrypt(encObj, spaceName))
return {
//some code
if (!entry) {
return null //returns null with no entry
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment