Update atime when updating the owners of a pad

pull/1/head
yflory 2019-09-09 12:19:29 +02:00
parent f8bc5343d5
commit 0a5bf7a5c2
1 changed files with 1 additions and 0 deletions

View File

@ -1212,6 +1212,7 @@ define([
allData.forEach(function (obj) {
obj.data.owners = metadata.owners;
if (metadata.expire) {
obj.data.atime = +new Date();
obj.data.expire = +metadata.expire;
}
});