Skip to content

Commit

Permalink
[api] [minor] Remove reference to this
Browse files Browse the repository at this point in the history
  • Loading branch information
Marak committed Oct 28, 2018
1 parent acfbf3b commit f631665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/address.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f631665

Please sign in to comment.