diff options
Diffstat (limited to 'Main/Jobs/AggregatorJob.cs')
-rw-r--r-- | Main/Jobs/AggregatorJob.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Main/Jobs/AggregatorJob.cs b/Main/Jobs/AggregatorJob.cs index dc7c354..eec9aff 100644 --- a/Main/Jobs/AggregatorJob.cs +++ b/Main/Jobs/AggregatorJob.cs @@ -1,3 +1,4 @@ +using System.Linq; using System.Threading.Tasks; using System.Collections.Generic; @@ -40,7 +41,7 @@ namespace Main.Jobs { "https://abcnews.go.com/abcnews/topstories" }; - public static async void Process(DatabaseContext context) { + public static async Task Process(DatabaseContext context) { var articles = await parseMultiple(); await context.InsertArticles(articles); } |