mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 16:25:21 +00:00
small fix of example in API
Noticed "pass.relevance("locations"," ...." was not working after copying it from the API example
This commit is contained in:
4
API.md
4
API.md
@@ -350,10 +350,10 @@ For *relevantDate*, the date is parsed in the same formats of [#expiration()](#m
|
||||
**Example**:
|
||||
|
||||
```javascript
|
||||
pass.relevance("location", [{
|
||||
pass.relevance("locations", [{
|
||||
longitude: "73.2943532945212",
|
||||
latitude: "-42.3088613015625",
|
||||
]);
|
||||
}]);
|
||||
|
||||
pass.relevance("maxDistance", 150);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user