Created
April 5, 2021 23:46
-
-
Save phylliswong/ad7f47b5c9222162659b0521ce2d707b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function() { | |
var authenticated = window.localStorage.getItem('auth_token'); | |
if (authenticated){ | |
evolv.context.update({'auth':'true'}) | |
} else { | |
evolv.context.update({'auth':'false'}) | |
} | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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