mirror of https://github.com/pelias/api.git
Julian Simioni
9 years ago
9 changed files with 40 additions and 33 deletions
@ -1,3 +1,4 @@ |
|||||||
|
|
||||||
var _sanitize = require('../sanitiser/_sanitize'), |
var _sanitize = require('../sanitiser/_sanitize'), |
||||||
sanitizers = { |
sanitizers = { |
||||||
id: require('../sanitiser/_id'), |
id: require('../sanitiser/_id'), |
@ -1,6 +1,6 @@ |
|||||||
|
|
||||||
#> valid place query |
#> valid doc query |
||||||
path: '/place?id=geoname:4221195&id=geoname:4193595' |
path: '/doc?id=geoname:4221195&id=geoname:4193595' |
||||||
|
|
||||||
#? 200 ok |
#? 200 ok |
||||||
response.statusCode.should.equal 200 |
response.statusCode.should.equal 200 |
@ -1,6 +1,6 @@ |
|||||||
|
|
||||||
#> valid place query |
#> valid doc query |
||||||
path: '/place?id=geoname:4221195' |
path: '/doc?id=geoname:4221195' |
||||||
|
|
||||||
#? 200 ok |
#? 200 ok |
||||||
response.statusCode.should.equal 200 |
response.statusCode.should.equal 200 |
Loading…
Reference in new issue