Skip to content

Commit 7c827a4

Browse files
committedJun 5, 2018
Fixed rulings collection mapping issue.
1 parent 84c96c0 commit 7c827a4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎src/Domain/ygo-scheduled-tasks.domain/ETL/ArticleList/Processor/Item/CardRulingItemProcessor.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
using System.Collections.Generic;
1+
using System;
2+
using System.Collections.Generic;
23
using System.Threading.Tasks;
34
using wikia.Api;
45
using wikia.Models.Article.AlphabeticalList;
@@ -41,6 +42,9 @@ public async Task<ArticleTaskResult> ProcessItem(UnexpandedArticle item)
4142

4243
foreach (var cardRulingSection in articleCardRulings.Sections)
4344
{
45+
if(cardRulingSection.Title.Equals("References", StringComparison.OrdinalIgnoreCase))
46+
continue;
47+
4448
var rulingSection = new CardRulingSection
4549
{
4650
Name = cardRulingSection.Title,

0 commit comments

Comments
 (0)
Please sign in to comment.