2 Commits

Author SHA1 Message Date
Claire Kuang 3694e5703c Update AutomateFunction.cs
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled
2024-02-01 09:57:06 +00:00
Claire Kuang 80189e2414 fixes added logic to omit objects with no applicationid
build and deploy Speckle functions / publish-automate-function-version (push) Has been cancelled
2024-02-01 09:46:02 +00:00
@@ -175,10 +175,14 @@ static class AutomateFunction
}
else
{
//automationContext.AttachInfoToObjects(ADDED, new List<string>() { testObject.id });
addedList.Add(
new Tuple<string, string>(testObject.id, testObject.speckle_type)
);
// we're skipping objects without an applicationId for now, since we're doing so in the release commit
if (!string.IsNullOrEmpty(testObject.applicationId))
{
//automationContext.AttachInfoToObjects(ADDED, new List<string>() { testObject.id });
addedList.Add(
new Tuple<string, string>(testObject.id, testObject.speckle_type)
);
}
}
}