aboutsummaryrefslogtreecommitdiff
path: root/src/modules/image
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/image')
-rw-r--r--src/modules/image/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/image/index.ts b/src/modules/image/index.ts
index 915014db..f5f24711 100644
--- a/src/modules/image/index.ts
+++ b/src/modules/image/index.ts
@@ -175,7 +175,7 @@ export class ImageModule extends ModuleBase {
const { width = 640, height = 480, category } = options;
return `https://loremflickr.com/${width}/${height}${
- category != null ? `/${category}` : ''
+ category == null ? '' : `/${category}`
}?lock=${this.faker.number.int()}`;
}