Skip to content

Commit

Permalink
Fix unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
hanydd committed Apr 13, 2024
1 parent 207f225 commit e9bbd3f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/background.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { generateUserID } from "../maze-utils/src/setup";
import Utils from "./utils";
import { isFirefoxOrSafari } from "../maze-utils/src";
import { injectUpdatedScripts } from "../maze-utils/src/cleanup";
import { logWarn } from "./utils/logger";
import { chromeP } from "../maze-utils/src/browserApi";
const utils = new Utils({
registerFirefoxContentScript,
Expand Down Expand Up @@ -205,7 +204,7 @@ async function submitVote(type: number, UUID: string, category: string) {

try {
const response = await asyncRequestToServer("POST", "/api/voteOnSponsorTime?UUID=" + UUID + "&userID=" + userID + typeSection);

if (response.ok) {
return {
successType: 1,
Expand Down

0 comments on commit e9bbd3f

Please sign in to comment.