diff --git a/server/Persistence/Seed/Seeder.cs b/server/Persistence/Seed/Seeder.cs index a147267..521bb7a 100644 --- a/server/Persistence/Seed/Seeder.cs +++ b/server/Persistence/Seed/Seeder.cs @@ -64,11 +64,11 @@ namespace server.Persistence.Seed const string fileName = "quotes.json"; var quotesFilePath = Path.Combine(AppContext.BaseDirectory, $"Persistence/Seed/Data/{fileName}"); var quotesJson = await File.ReadAllTextAsync(quotesFilePath); - var quotes = JsonSerializer.Deserialize>(quotesJson); + var quotes = JsonSerializer.Deserialize>(quotesJson); if (quotes != null) { - await _episodes.InsertManyAsync(quotes); + await _quotes.InsertManyAsync(quotes); Console.WriteLine($"Seeded databases with quotes from {fileName}"); }