Skip to content

Commit

Permalink
📦 3.14.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dmfenton committed Sep 12, 2017
1 parent 8bcafa2 commit bd18218
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [3.14.8] - 2017-09-12
### Fixed
* Only use info.name when info is passed

## [3.14.7] - 2017-09-12
### Changed
* Pass csv name in metadata.name
Expand Down Expand Up @@ -1060,6 +1064,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## 2014-08-25
* working on tests

[3.14.8]: https://github.com/koopjs/koop-agol/compare/v3.14.7..v3.14.8
[3.14.7]: https://github.com/koopjs/koop-agol/compare/v3.14.6..v3.14.7
[3.14.6]: https://github.com/koopjs/koop-agol/compare/v3.14.5..v3.14.6
[3.14.5]: https://github.com/koopjs/koop-agol/compare/v3.14.4..v3.14.5
Expand Down
3 changes: 2 additions & 1 deletion models/agol.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,9 @@ function AGOL (koop) {
var options = {item: req.params.id, layer: 0, host: portal, query: query}
agol.cacheResource(options, function (error, info, data) {
if (error) return callback(error)
info = info || {}
data.metadata = {
name: info.name
name: info.name || data.name
}
callback(null, data)
})
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@koopjs/provider-agol",
"description": "ArcGIS Online provider for Koop (public services only).",
"version": "3.14.7",
"version": "3.14.8",
"author": "Chris Helm",
"bugs": {
"url": "https://github.com/koopjs/koop-provider-agol/issues"
Expand Down

0 comments on commit bd18218

Please sign in to comment.