Merge pull request #38 from neogucky/patch-1

small fix of example in API
This commit is contained in:
Alexander Cerutti
2019-07-28 13:43:04 +02:00
committed by GitHub

4
API.md
View File

@@ -350,10 +350,10 @@ For *relevantDate*, the date is parsed in the same formats of [#expiration()](#m
**Example**: **Example**:
```javascript ```javascript
pass.relevance("location", [{ pass.relevance("locations", [{
longitude: "73.2943532945212", longitude: "73.2943532945212",
latitude: "-42.3088613015625", latitude: "-42.3088613015625",
]); }]);
pass.relevance("maxDistance", 150); pass.relevance("maxDistance", 150);