Improve presentview performance

This commit is contained in:
viktorstrate
2019-08-10 17:15:17 +02:00
parent 58b1a07340
commit d9ba92aaa5
4 changed files with 41 additions and 41 deletions

View File

@@ -18,8 +18,6 @@ function loadImageRoutes({ app, driver, scanner }) {
return res.status(401).send(err.message)
}
console.log('Getting image for user', user.username)
const session = driver.session()
const result = await session.run(