Skip to content

Commit

Permalink
Ensure Editorial pieces are not marked as Opinion
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathonherbert committed May 10, 2024
1 parent 513fcd2 commit 0b402a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/backend/capi/articleTypePicker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ const articleTypePicker = (article: Content): ArticleType => {
if (isLongRead) return ArticleType.Longread
else if (isImmersive) return ArticleType.Immersive
else if (isLetter) return ArticleType.Letter
else if (isEditorial) return ArticleType.Article
else if (isComment) return ArticleType.Opinion
else if (isSeries) return ArticleType.Article
else if (isObituary) return ArticleType.Article
else if (isAnalysis) return ArticleType.Analysis
else if (isEditorial) return ArticleType.Article
else return ArticleType.Article

case 'lifestyle':
Expand Down

0 comments on commit 0b402a4

Please sign in to comment.