Skip to content

Commit

Permalink
Merge pull request #177 from HSLdevcom/lat-lon-required
Browse files Browse the repository at this point in the history
lat & lon are required
  • Loading branch information
vesameskanen authored Sep 18, 2017
2 parents 270dbee + 37e1d7e commit f5e0d5a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2199,12 +2199,12 @@ private Object getObject(String idString) {
.argument(GraphQLArgument.newArgument()
.name("lat")
.description("Latitude of the location")
.type(Scalars.GraphQLFloat)
.type(new GraphQLNonNull(Scalars.GraphQLFloat))
.build())
.argument(GraphQLArgument.newArgument()
.name("lon")
.description("Longitude of the location")
.type(Scalars.GraphQLFloat)
.type(new GraphQLNonNull(Scalars.GraphQLFloat))
.build())
.argument(GraphQLArgument.newArgument()
.name("maxDistance")
Expand Down

0 comments on commit f5e0d5a

Please sign in to comment.