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