aboutsummaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/location/index.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/location/index.ts b/src/modules/location/index.ts
index 26ead8ad..e924bd7e 100644
--- a/src/modules/location/index.ts
+++ b/src/modules/location/index.ts
@@ -149,7 +149,9 @@ export class LocationModule {
* @since 8.0.0
*/
city(): string {
- return this.faker.helpers.fake(this.faker.definitions.location.city);
+ return this.faker.helpers.fake(
+ this.faker.definitions.location.city_pattern
+ );
}
/**