Fix where
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2021-01-28 16:08:57 +01:00
parent ade2d9f4a2
commit 7bcbf5303e
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ module.exports = Self => {
const maxAttempts = 3; const maxAttempts = 3;
const images = await Self.find({ const images = await Self.find({
where: {url: {neq: null}, attempts: {eq: maxAttempts}} where: {attempts: {eq: maxAttempts}}
}); });
for (let image of images) { for (let image of images) {