ImportHandler: Delete redundant variable

pull/4779/head
Richard Hansen 2021-02-07 18:22:54 -05:00 committed by John McLear
parent cc52811cd0
commit 008209b0e0
1 changed files with 0 additions and 1 deletions

View File

@ -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);