Skip to content

Commit

Permalink
fix: update findOne query
Browse files Browse the repository at this point in the history
  • Loading branch information
raulghm committed May 18, 2019
1 parent 3f1faf2 commit eda3629
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/graphql/FindByOne.gql

This file was deleted.

24 changes: 24 additions & 0 deletions src/graphql/FindOne.gql
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
query findOne(
$id: String!
$latitude: Float!
$longitude: Float!
){
findOne(
_id: $id,
) {
_id
name
address
geometry {
coordinates
}
matrix(
latitude: $latitude
longitude: $longitude
) {
distance
duration
mode
}
}
}

0 comments on commit eda3629

Please sign in to comment.