From 85ce7511dac42f602623ef2cdd864aca0f549476 Mon Sep 17 00:00:00 2001 From: Tim Rasim Date: Sun, 28 Jul 2019 13:23:37 +0200 Subject: [PATCH] small fix of example in API Noticed "pass.relevance("locations"," ...." was not working after copying it from the API example --- API.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/API.md b/API.md index 5cddabd..4cb38c1 100644 --- a/API.md +++ b/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);