Skip to content

Commit d9f8d87

Browse files
authored
Merge pull request #84 from codergautam/mapimprovements
Nitro ads test
2 parents f743a68 + 595fa70 commit d9f8d87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/home.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ export default function Home({ }) {
250250
const hashBuffer = await crypto.subtle.digest('SHA-256', data);
251251
const hashArray = Array.from(new Uint8Array(hashBuffer));
252252
const hashHex = hashArray.map(b => b.toString(16).padStart(2, '0')).join('');
253-
window.nitroAds.addUserToken(hashHex, 'SHA-256');
253+
window.nitroAds.addUserToken(email, 'PLAIN');
254254
} catch (e) {
255255
// Silently fail - ad targeting is non-critical
256256
}

0 commit comments

Comments
 (0)