mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-09 14:16:17 +02:00
ImportHandler: Delete redundant variable
This commit is contained in:
parent
cc52811cd0
commit
008209b0e0
@ -152,7 +152,6 @@ const doImport = async (req, res, padId) => {
|
||||
throw 'padHasData';
|
||||
}
|
||||
|
||||
const fsp_readFile = util.promisify(fs.readFile);
|
||||
const _text = await fsp_readFile(srcFile, 'utf8');
|
||||
req.directDatabaseAccess = true;
|
||||
await importEtherpad.setPadRaw(padId, _text);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user