From d6bfcaa021f0497793f99b87adafb993de8636f3 Mon Sep 17 00:00:00 2001 From: Alexey Nikipelau Date: Thu, 29 Aug 2024 17:04:27 +0300 Subject: [PATCH] fail tests --- src/handlers/pdf/get-formfields.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/pdf/get-formfields.js b/src/handlers/pdf/get-formfields.js index 651da56..ffc3c52 100644 --- a/src/handlers/pdf/get-formfields.js +++ b/src/handlers/pdf/get-formfields.js @@ -5,7 +5,7 @@ const {extractFormfields} = require('../../services/pdf/formfields'); const getFormfields = async (req, res, next) => { try { const jsonOutput = await extractFormfields(req.filePath); - res.json(jsonOutput); + res.json({}); } catch (err) { return next(err);