From 8cd196562be43d378bc82d0dfe8b003fd84c404f Mon Sep 17 00:00:00 2001 From: DivisionByZero Date: Thu, 27 Apr 2023 17:33:43 +0200 Subject: refactor(location)!: rename definition city to city_pattern (#2094) --- src/modules/location/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules') 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 + ); } /** -- cgit v1.2.3