mirror of
https://github.com/C9Glax/tranga.git
synced 2025-02-23 07:40:13 +01:00
ConnectorController.AddMangaToContext existing also check for connector
This commit is contained in:
parent
60b128fc30
commit
ae11c31b9d
@ -93,7 +93,8 @@ public class ConnectorController(PgsqlContext context) : Controller
|
|||||||
{
|
{
|
||||||
if (manga is null)
|
if (manga is null)
|
||||||
return 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)
|
if (tags is not null)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user