diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/address.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/address.js b/lib/address.js index e82d5d72..6ac5f9b9 100644 --- a/lib/address.js +++ b/lib/address.js @@ -360,7 +360,7 @@ function Address (faker) { // If there is no coordinate, the best we can do is return a random GPS coordinate. if (coordinate === undefined) { - return [this.latitude(), this.longitude()] + return [faker.address.latitude(), faker.address.longitude()] } radius = radius || 10.0; isMetric = isMetric || false; |
