This commit is contained in:
@@ -261,7 +261,7 @@ namespace AyaNova.Api.Controllers
|
||||
if (!badRequest)
|
||||
{
|
||||
//check if object exists
|
||||
if (!await BizObjectExistsInDatabase.ExistsAsync(attachToObject))
|
||||
if (!await BizObjectExistsInDatabase.ExistsAsync(attachToObject, ct))
|
||||
{
|
||||
badRequest = true;
|
||||
errorMessage = "Invalid attach object";
|
||||
|
||||
Reference in New Issue
Block a user