mirror of
https://github.com/C9Glax/tranga.git
synced 2025-06-14 15:27:53 +02:00
ConnectorController.AddMangaToContext existing also check for connector
This commit is contained in:
@ -93,7 +93,8 @@ public class ConnectorController(PgsqlContext context) : Controller
|
||||
{
|
||||
if (manga is null)
|
||||
return null;
|
||||
Manga? existing = context.Manga.FirstOrDefault(m => m.ConnectorId == manga.ConnectorId);
|
||||
Manga? existing = context.Manga.FirstOrDefault(m =>
|
||||
m.MangaConnector == manga.MangaConnector && m.ConnectorId == manga.ConnectorId);
|
||||
|
||||
if (tags is not null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user