aboutsummaryrefslogtreecommitdiff
path: root/src/cleaners/skyblock/election.ts
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-03-05 15:29:18 -0600
committermat <github@matdoes.dev>2022-03-05 15:29:31 -0600
commit1c901528351197ceb6cdab4d5fda6b7afabe8304 (patch)
treeb86c0d4f9c56f94fbe2318050f5576357b9ecc73 /src/cleaners/skyblock/election.ts
parenta82d60e452b83d069a65024ac664215965cbc266 (diff)
downloadskyblock-api-1c901528351197ceb6cdab4d5fda6b7afabe8304.tar.gz
skyblock-api-1c901528351197ceb6cdab4d5fda6b7afabe8304.tar.bz2
skyblock-api-1c901528351197ceb6cdab4d5fda6b7afabe8304.zip
`winner` is a string
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 2a00d53..127fe96 100644
--- a/src/cleaners/skyblock/election.ts
+++ b/src/cleaners/skyblock/election.ts
@@ -18,7 +18,7 @@ export interface ElectionData {
last_updated: number
previous: {
year: number
- winner: Candidate
+ winner: string
candidates: Candidate[]
}
current: {