updated sequelize
This commit is contained in:
@@ -32,7 +32,7 @@ module.exports = ProjectPersistenceManager = {
|
||||
db.Project.findOrCreate({ where: { project_id } })
|
||||
.spread((project, created) =>
|
||||
project
|
||||
.updateAttributes({ lastAccessed: new Date() })
|
||||
.update({ lastAccessed: new Date() })
|
||||
.then(() => cb())
|
||||
.error(cb)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user