We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a155ae7 + 00ced19 commit 6ec804fCopy full SHA for 6ec804f
packages/contentstack-variants/src/import/experiences.ts
@@ -162,7 +162,7 @@ export default class Experiences extends PersonalizationAdapter<ImportConfig> {
162
* function import experience versions from a JSON file and creates them in the project.
163
*/
164
async importExperienceVersions(experience: ExperienceStruct, oldExperienceUid: string) {
165
- const versionsPath = resolve(sanitizePath(this.experiencesDirPath), 'versions', `${oldExperienceUid}.json`);
+ const versionsPath = resolve(sanitizePath(this.experiencesDirPath), 'versions', `${sanitizePath(oldExperienceUid)}.json`);
166
167
if (!existsSync(versionsPath)) {
168
return;
0 commit comments