Skip to content

Commit bc56d19

Browse files
committed
Fix call to openstac
1 parent 0ce8b25 commit bc56d19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/plumber.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function(req, res) {
7777
#* @get /collections
7878
function(req, res) {
7979
print("GET /collections")
80-
openstac::api_collections(api$stac_api, req)
80+
openstac::api_collections(api$stac_api, req, res)
8181
}
8282

8383
#* Full metadata for a specific dataset
@@ -89,7 +89,7 @@ function(req, res, collection_id) {
8989
print(as.list(api$stac_api))
9090
print(collection_id)
9191
print(as.list(req))
92-
doc <- openstac::api_collection(api$stac_api, collection_id, req)
92+
doc <- openstac::api_collection(api$stac_api, req, res, collection_id)
9393
doc <- delete_link(doc, rel = "item")
9494
doc
9595
}

0 commit comments

Comments
 (0)