mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 19:25:23 +00:00
Added shouldOverwrite to Pass class options to overwrite or append to the existing ones, the properties in main buffer
This commit is contained in:
@@ -49,7 +49,8 @@ function manageRequest(request, response) {
|
||||
passphrase: "123456"
|
||||
}
|
||||
},
|
||||
overrides: overrides
|
||||
overrides: overrides,
|
||||
shouldOverwrite: true
|
||||
});
|
||||
|
||||
pass.localize("it", {
|
||||
@@ -75,7 +76,7 @@ function manageRequest(request, response) {
|
||||
longitude: 12.320653600000002
|
||||
}]);
|
||||
|
||||
pass.relevance("maxDistance", 150);
|
||||
pass.relevance("maxDistance", 10);
|
||||
|
||||
//pass.localize("zu", {});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user