From 681b8afb1533ff66e58ad848502142f5cfc9f0df Mon Sep 17 00:00:00 2001 From: joan Date: Fri, 3 Sep 2021 07:23:26 +0200 Subject: [PATCH] fix(invoice): missing UserError import --- modules/invoiceOut/back/methods/invoiceOut/createPdf.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/invoiceOut/back/methods/invoiceOut/createPdf.js b/modules/invoiceOut/back/methods/invoiceOut/createPdf.js index 678e7dda5..a787e48a1 100644 --- a/modules/invoiceOut/back/methods/invoiceOut/createPdf.js +++ b/modules/invoiceOut/back/methods/invoiceOut/createPdf.js @@ -1,3 +1,4 @@ +const UserError = require('vn-loopback/util/user-error'); const fs = require('fs-extra'); const got = require('got'); const path = require('path');