fix la limite du nombre d'article
continuous-integration/drone/push Build is failing Details
continuous-integration/drone Build was killed Details

This commit is contained in:
Simon 2023-12-04 16:01:32 +01:00
parent 67e8f41a32
commit 40e1e0aaeb
2 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,8 @@ const config = {
actualites: {
readByQueryOption: {
fields: ['title', 'date', 'image', 'image_credit', 'vignette', 'vignette_credit', 'description', 'auteur', 'draft', 'content', 'event'],
filterDraft
filterDraft,
limit: 1000
},
pathBuilder: (article) => {
if (!article.image) delete article.image

View File

@ -39,7 +39,8 @@ const config = {
actualites: {
readByQueryOption: {
fields: ['title', 'date', 'image', 'image_credit', 'vignette', 'vignette_credit', 'description', 'auteur', 'draft', 'content', 'event'],
filterDraft
filterDraft,
limit: 1000
},
pathBuilder: (article) => {
if (!article.image) delete article.image