pangea-server 1.0.44 → 1.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -15,8 +15,7 @@ function callController(controller, validate, authConfig) {
|
|
|
15
15
|
return async function (req, res) {
|
|
16
16
|
const headers = req.headers;
|
|
17
17
|
const inputs = (0, validate_request_1.validateRequest)(validate, req);
|
|
18
|
-
const
|
|
19
|
-
const ctx = { headers, ...inputs, file: req.file, files: req.files, businessId };
|
|
18
|
+
const ctx = { headers, ...inputs, file: req.file, files: req.files };
|
|
20
19
|
const tx = await (0, database_1.getDbClient)().transaction();
|
|
21
20
|
const db = new database_1.Db(tx);
|
|
22
21
|
try {
|