Fix
This commit is contained in:
parent
b08fd07909
commit
2929048ebe
1 changed files with 1 additions and 2 deletions
|
@ -529,8 +529,7 @@ async function _createTx(tx, context, entity, content) {
|
|||
|
||||
if (copyFilesFrom) {
|
||||
await files.copyAllTx(tx, context, copyFilesFrom.entityType, 'file', copyFilesFrom.entityId, 'campaign', 'file', id);
|
||||
|
||||
convertFileURLs(data.sourceCustom, copyFilesFrom.entityType, copyFilesFrom.entityId, 'campaign', id);
|
||||
convertFileURLs(data.sourceCustom, copyFilesFrom.entityType, copyFilesFrom.entityId, 'campaign', id, true);
|
||||
await tx('campaigns')
|
||||
.update({
|
||||
data: JSON.stringify(data)
|
||||
|
|
Loading…
Reference in a new issue