Skip to content
This repository has been archived by the owner on Dec 13, 2021. It is now read-only.

Commit

Permalink
Added TODO (code review) notes
Browse files Browse the repository at this point in the history
  • Loading branch information
leekelleher committed Dec 12, 2018
1 parent 8a2d653 commit ff7b0c8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,10 @@ public HttpResponseMessage GetPreviewMarkup([FromBody] JObject item, int pageId)
}
}

// TODO: Review. The values in `item` are the "editor values", whereas for prevalue-based editors, the converter is expecting the "database value". [LK:2018-12-12]

// Convert item
var content = InnerContentHelper.ConvertInnerContentToPublishedContent(item, page);
var content = InnerContentHelper.ConvertInnerContentToPublishedContent(item, page, preview: true);

// Construct preview model
var model = new PreviewModel { Page = page, Item = content };
Expand Down

0 comments on commit ff7b0c8

Please sign in to comment.