refs #5446 Insert in image.updated (ms to sec)
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
32c5ced55b
commit
0e286eabe0
|
@ -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
|
||||
|
|
|
@ -78,7 +78,7 @@ module.exports = Self => {
|
|||
{
|
||||
name: fileName,
|
||||
collectionFk: collectionName,
|
||||
updated: Date.vnNow(),
|
||||
updated: Date.vnNow() / 1000,
|
||||
},
|
||||
myOptions
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue