Added limit
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
99aa6b666d
commit
80075a6471
|
@ -22,9 +22,7 @@ module.exports = Self => {
|
|||
let filePath;
|
||||
try {
|
||||
const imageQueue = await Self.find({
|
||||
where: {
|
||||
itemFk: 410421
|
||||
}
|
||||
limit: 3
|
||||
});
|
||||
|
||||
// const rootPath = 'C:\\Users\\jsanc\\Desktop\\images';
|
||||
|
@ -44,7 +42,7 @@ module.exports = Self => {
|
|||
response.pipe(file);
|
||||
|
||||
await models.Image.register('catalog', fileName, filePath);
|
||||
// await image.destroy();
|
||||
await image.destroy();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue