Skip to content

Commit

Permalink
Update broken place endpoint.
Browse files Browse the repository at this point in the history
  • Loading branch information
vesameskanen committed Feb 21, 2020
1 parent cad2247 commit 1ba18fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controller/place.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ function setup( apiConfig, esclient ){
// setup a new operation
const operation = retry.operation(operationOptions);

//generate Elasticsearch mget entries based on GID
const cmd = req.clean.ids.map( function(id) {
return {
_index: apiConfig.indexName,
_type: id.layer,
_id: id.id
_id: `${id.source}:${id.layer}:${id.id}`
};
});

Expand Down

0 comments on commit 1ba18fd

Please sign in to comment.