Skip to content

Commit

Permalink
fix(webapp): remove distinct on from fastest endpoints query
Browse files Browse the repository at this point in the history
  • Loading branch information
Torresmorah committed Jun 19, 2023
1 parent c8d2f5a commit 8750dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/gql/producer.gql.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ export const EOSRATE_STATS_QUERY = gql`
`

export const FASTEST_ENDPOINTS_QUERY = gql`query($today: date){
endpoints: check_history_by_endpoint(limit: 5, order_by: [{availability: desc, avg_time: asc}], where: {date: {_eq: $today}}, distinct_on: [value]) {
endpoints: check_history_by_endpoint(limit: 5, order_by: [{availability: desc, avg_time: asc}], where: {date: {_eq: $today}}) {
value
avg_time
availability
Expand Down

0 comments on commit 8750dd6

Please sign in to comment.