This commit is contained in:
2020-03-12 22:36:20 +00:00
parent e0b5ea0dc3
commit 883e10fcd7
10 changed files with 239 additions and 142 deletions

View File

@@ -175,7 +175,7 @@ namespace AyaNova.Api.Controllers
//Is it an attachable type of object?
if (!badRequest)
{
if (!attachToObject.IsAttachable)
if (!attachToObject.IsCoreBizObject)
{
badRequest = true;
errorMessage = attachToObject.ObjectType.ToString() + " - AttachToObjectType does not support attachments";