Skip to content

Instantly share code, notes, and snippets.

@phylliswong
Created April 5, 2021 23:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phylliswong/ad7f47b5c9222162659b0521ce2d707b to your computer and use it in GitHub Desktop.
Save phylliswong/ad7f47b5c9222162659b0521ce2d707b to your computer and use it in GitHub Desktop.
module.exports = function() {
var authenticated = window.localStorage.getItem('auth_token');
if (authenticated){
evolv.context.update({'auth':'true'})
} else {
evolv.context.update({'auth':'false'})
}
};
{
"name": "evolv-ebay-authenticated-audience",
"version": "1.0.0",
"main": "index.js"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment