2
0
mirror of https://github.com/frappe/books.git synced 2024-11-08 23:00:56 +00:00

FIX: PDF generation in production

This commit is contained in:
thefalconx33 2019-09-03 15:15:59 +05:30
parent a35000d820
commit fcc8061ccd

View File

@ -25,8 +25,7 @@ module.exports = function registerServerMethods() {
const path = require('path');
const { getPDFForElectron } = require('frappejs/server/pdf');
const { getSettings } = require('../electron/settings');
const destination = path.resolve('.');
getPDFForElectron(doctype, name, destination, html);
getPDFForElectron(doctype, name, undefined, html);
}
}
});