mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-08 13:46:10 +02:00
lint: padaccess.js
This commit is contained in:
parent
029729a386
commit
40d7480d5b
@ -2,7 +2,7 @@
|
||||
const securityManager = require('./db/SecurityManager');
|
||||
|
||||
// checks for padAccess
|
||||
module.exports = async function (req, res) {
|
||||
module.exports = async (req, res) => {
|
||||
try {
|
||||
const {session: {user} = {}} = req;
|
||||
const accessObj = await securityManager.checkAccess(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user