Skip to content

Commit

Permalink
Issue #SB-11001 fix: question missing assets migration task
Browse files Browse the repository at this point in the history
  • Loading branch information
pallakartheekreddy committed Mar 28, 2019
1 parent 942b49f commit 06f40c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/scripts/contenteditor/migration/questionsetfix1-task.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ org.ekstep.contenteditor.migration.patch_1 = new (Class.extend({
}

_.each(questionData.media, function (media) {
media.src = instance.getRelativeURL(media.src)
if(media.src){
media.src = instance.getRelativeURL(media.src)
}
})
_.each(quesAssets, function (quesAsset) {
// quesAsset.url = getRelativeURL(quesAsset.url);
Expand Down

0 comments on commit 06f40c9

Please sign in to comment.