Skip to content

Commit

Permalink
Update to new name for each DataPack to fix concurrency issue in new …
Browse files Browse the repository at this point in the history
…package version
  • Loading branch information
Adam Rutland committed Dec 31, 2021
1 parent 2ac4319 commit 3e8fd44
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/datapacks.js
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,10 @@ DataPacks.prototype.export = async function(dataPackType, exportData, options) {
DataPacks.prototype.import = async function(dataJson, options) {
var dataPackData = {
processType: 'Import',
processData: { 'VlocityDataPackData': dataJson }
processData: {
'VlocityDataPackData': dataJson,
name: "Deploy-" + this.vlocity.datapacksutils.guid()
}
};

return await this.runDataPackProcess(dataPackData, options);
Expand Down

0 comments on commit 3e8fd44

Please sign in to comment.