mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
lint: padaccess.js
This commit is contained in:
parent
029729a386
commit
40d7480d5b
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
const securityManager = require('./db/SecurityManager');
|
const securityManager = require('./db/SecurityManager');
|
||||||
|
|
||||||
// checks for padAccess
|
// checks for padAccess
|
||||||
module.exports = async function (req, res) {
|
module.exports = async (req, res) => {
|
||||||
try {
|
try {
|
||||||
const {session: {user} = {}} = req;
|
const {session: {user} = {}} = req;
|
||||||
const accessObj = await securityManager.checkAccess(
|
const accessObj = await securityManager.checkAccess(
|
||||||
|
|
Loading…
Reference in a new issue