This commit is contained in:
2020-09-08 23:32:06 +00:00
parent af9263649a
commit f70cb8907a
2 changed files with 3 additions and 3 deletions

View File

@@ -280,7 +280,7 @@ namespace AyaNova.Biz
{
//TODO: this is shitty, needs to mention notifications to be maximally useful
if (await ct.NotifySubscription.AnyAsync(z => z.LinkToReportId == inObj.Id) == true)
if (await ct.NotifySubscription.AnyAsync(z => z.LinkReportId == inObj.Id) == true)
{
AddError(ApiErrorCode.INVALID_OPERATION, null, "LT:ErrorDBForeignKeyViolation");
return;