aboutsummaryrefslogtreecommitdiff
path: root/src/modules/company
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/company')
-rw-r--r--src/modules/company/index.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/company/index.ts b/src/modules/company/index.ts
index 98dc2c68..40177ec0 100644
--- a/src/modules/company/index.ts
+++ b/src/modules/company/index.ts
@@ -62,9 +62,7 @@ export class CompanyModule {
* @since 7.4.0
*/
name(): string {
- return this.faker.helpers.fake(
- this.faker.definitions.company.name_patterns
- );
+ return this.faker.helpers.fake(this.faker.definitions.company.name_pattern);
}
/**