Compare commits
1 Commits
dev
...
5446-HOTFI
Author | SHA1 | Date |
---|---|---|
Guillermo Bonet | 0e286eabe0 |
|
@ -77,7 +77,7 @@ module.exports = Self => {
|
||||||
const newImage = await Self.upsertWithWhere(data, {
|
const newImage = await Self.upsertWithWhere(data, {
|
||||||
name: fileName,
|
name: fileName,
|
||||||
collectionFk: collectionName,
|
collectionFk: collectionName,
|
||||||
updated: Date.vnNow()
|
updated: Date.vnNow() / 1000
|
||||||
}, myOptions);
|
}, myOptions);
|
||||||
|
|
||||||
// Resizes and saves the image
|
// Resizes and saves the image
|
||||||
|
|
|
@ -78,7 +78,7 @@ module.exports = Self => {
|
||||||
{
|
{
|
||||||
name: fileName,
|
name: fileName,
|
||||||
collectionFk: collectionName,
|
collectionFk: collectionName,
|
||||||
updated: Date.vnNow(),
|
updated: Date.vnNow() / 1000,
|
||||||
},
|
},
|
||||||
myOptions
|
myOptions
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue