mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-17 00:37:54 +02:00
"Global"-Connector https://github.com/C9Glax/tranga-website/issues/50
This commit is contained in:
@ -117,7 +117,8 @@ using (var scope = app.Services.CreateScope())
|
||||
new Mangaworld(),
|
||||
new ManhuaPlus(),
|
||||
new Weebcentral(),
|
||||
new Manganato()
|
||||
new Manganato(),
|
||||
new Global(scope.ServiceProvider.GetService<PgsqlContext>()!)
|
||||
];
|
||||
MangaConnector[] newConnectors = connectors.Where(c => !context.MangaConnectors.Contains(c)).ToArray();
|
||||
context.MangaConnectors.AddRange(newConnectors);
|
||||
|
Reference in New Issue
Block a user