aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/skyblock/election.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/cleaners/skyblock/election.ts')
-rw-r--r--src/cleaners/skyblock/election.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cleaners/skyblock/election.ts b/src/cleaners/skyblock/election.ts
index a773f4a..9094e2d 100644
--- a/src/cleaners/skyblock/election.ts
+++ b/src/cleaners/skyblock/election.ts
@@ -39,7 +39,7 @@ function cleanCandidate(data: any, index: number): Candidate {
}
}
-export function cleanElectionResponse(data: any): ElectionData {
+export async function cleanElectionResponse(data: any): Promise<ElectionData> {
const previousCandidates = data.mayor.election.candidates.map(cleanCandidate)
return {
lastUpdated: data.lastUpdated,