Compare commits

...

1 Commits

Author SHA1 Message Date
Guillermo Bonet 0e286eabe0 refs #5446 Insert in image.updated (ms to sec)
gitea/salix/pipeline/head There was a failure building this commit Details
2023-04-14 09:20:49 +02:00
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ module.exports = Self => {
const newImage = await Self.upsertWithWhere(data, {
name: fileName,
collectionFk: collectionName,
updated: Date.vnNow()
updated: Date.vnNow() / 1000
}, myOptions);
// Resizes and saves the image

View File

@ -78,7 +78,7 @@ module.exports = Self => {
{
name: fileName,
collectionFk: collectionName,
updated: Date.vnNow(),
updated: Date.vnNow() / 1000,
},
myOptions
);