From 585d32ea706e92cf5271c8f64d34b59849fb8112 Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Fri, 5 Feb 2021 14:21:13 +0100 Subject: [PATCH] aspectRation is seeded correctly for random images --- backend/src/db/factories.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/db/factories.js b/backend/src/db/factories.js index ca637a01c..8a6ca380e 100644 --- a/backend/src/db/factories.js +++ b/backend/src/db/factories.js @@ -49,7 +49,7 @@ Factory.define('badge') Factory.define('image') .attr('url', faker.image.unsplash.imageUrl) - .attr('aspectRatio', 1.0) + .attr('aspectRatio', 1.3333333333333333) .attr('alt', faker.lorem.sentence) .attr('type', 'image/jpeg') .after((buildObject, options) => {