mirror of
https://github.com/ReVanced/revanced-website.git
synced 2026-01-21 02:03:56 +00:00
feat: expose submitBallot for testing
This commit is contained in:
@@ -48,6 +48,8 @@
|
||||
// Reply: don't think we need to refactor because nobody cares if this code is shit lol
|
||||
onMount(async () => {
|
||||
window['use_token'] = exchange_token;
|
||||
window['submit_poll'] = submitBallot;
|
||||
|
||||
const response = await fetch('https://poll.revanced.app/logos');
|
||||
const json = await response.json();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user