mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
fix: disable dynamic list in contacts resource.
This commit is contained in:
@@ -84,13 +84,13 @@ export default class ResourceController extends BaseController {
|
||||
const { resource_model: resourceModel } = req.params;
|
||||
|
||||
try {
|
||||
const resourceFields = this.resourcesService.getResourceFields(
|
||||
tenantId,
|
||||
resourceModel
|
||||
);
|
||||
// const resourceFields = this.resourcesService.getResourceFields(
|
||||
// tenantId,
|
||||
// resourceModel
|
||||
// );
|
||||
|
||||
return res.status(200).send({
|
||||
resource_fields: this.transfromToResponse(resourceFields),
|
||||
resource_fields: [],
|
||||
});
|
||||
} catch (error) {
|
||||
next(error);
|
||||
|
||||
Reference in New Issue
Block a user