Fix
This commit is contained in:
parent
c601dc9709
commit
e2e00034be
1 changed files with 0 additions and 1 deletions
|
@ -86,7 +86,6 @@ async function listWithSegmentByCampaignDTAjax(context, campaignId, params) {
|
||||||
}
|
}
|
||||||
|
|
||||||
async function getByIdTx(tx, context, id) {
|
async function getByIdTx(tx, context, id) {
|
||||||
await shares.enforceEntityPermissionTx(tx, context, 'list', id, 'view');
|
|
||||||
const entity = await tx('lists').where('id', id).first();
|
const entity = await tx('lists').where('id', id).first();
|
||||||
return entity;
|
return entity;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue