mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 14:25:17 +00:00
Merge pull request #38 from neogucky/patch-1
small fix of example in API
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