diff options
| author | Shinigami <[email protected]> | 2022-05-01 15:22:39 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-05-01 13:22:39 +0000 |
| commit | c093e4c300a5566faafc85289d2588742db25c5d (patch) | |
| tree | 4e30ceff4ae4008004652dbf1c24e19b16f1d9c5 /src/image_providers | |
| parent | 1851ecab1e33b6266bb4b4614c814a7674099d01 (diff) | |
| download | faker-c093e4c300a5566faafc85289d2588742db25c5d.tar.xz faker-c093e4c300a5566faafc85289d2588742db25c5d.zip | |
refactor: move some random methods to helpers (#892)
Co-authored-by: ST-DDT <[email protected]>
Diffstat (limited to 'src/image_providers')
| -rw-r--r-- | src/image_providers/lorempixel.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image_providers/lorempixel.ts b/src/image_providers/lorempixel.ts index 50e48ede..17cbc2f5 100644 --- a/src/image_providers/lorempixel.ts +++ b/src/image_providers/lorempixel.ts @@ -30,7 +30,7 @@ export class Lorempixel { 'technics', 'transport', ]; - return this[this.faker.random.arrayElement(categories)]( + return this[this.faker.helpers.arrayElement(categories)]( width, height, randomize |
