Skip to content

Commit

Permalink
Merge pull request #1067 from Mygod/fix-showcase
Browse files Browse the repository at this point in the history
fix: showcase new fields not passed to client
  • Loading branch information
TurtIeSocks authored Nov 6, 2024
2 parents 949354d + 518fd5a commit c5e90b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
11 changes: 1 addition & 10 deletions server/src/graphql/typeDefs/scanner.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -106,19 +106,10 @@ type Invasion {
slot_3_form: Int
}

type ShowcaseEntry {
rank: Int
pokemon_id: Int
form: Int
costume: Int
gender: Int
score: Float
}

type ShowcaseDetails {
total_entries: Int
last_update: Int
contest_entries: [ShowcaseEntry]
contest_entries: [JSON]
}

type Event {
Expand Down
9 changes: 1 addition & 8 deletions src/services/queries/pokestop.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,7 @@ const event = gql`
showcase_rankings {
total_entries
last_update
contest_entries {
rank
pokemon_id
form
costume
gender
score
}
contest_entries
}
}
}
Expand Down

0 comments on commit c5e90b9

Please sign in to comment.