mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
adapt backend image faking due to deprecation warning
This commit is contained in:
parent
01c8c2a57b
commit
7b3ed63bc9
@ -49,7 +49,7 @@ Factory.define('badge')
|
|||||||
})
|
})
|
||||||
|
|
||||||
Factory.define('image')
|
Factory.define('image')
|
||||||
.attr('url', faker.image.unsplash.imageUrl)
|
.attr('url', faker.image.url)
|
||||||
.attr('aspectRatio', 1.3333333333333333)
|
.attr('aspectRatio', 1.3333333333333333)
|
||||||
.attr('alt', faker.lorem.sentence)
|
.attr('alt', faker.lorem.sentence)
|
||||||
.attr('type', 'image/jpeg')
|
.attr('type', 'image/jpeg')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user