diaObject is not always defined. If the object is static, then diaObject is populated by the project, however if the alert is associated to a know asteroid, diaObject is null, and ssSource is populated instead. It is not a problem for the processing itself, as diaObjectId is only use for logging operations.
Maybe it is safer to pass diaSourceId (at the root level and always defined), which is an ID for the source.
diaObjectis not always defined. If the object is static, thendiaObjectis populated by the project, however if the alert is associated to a know asteroid,diaObjectis null, andssSourceis populated instead. It is not a problem for the processing itself, asdiaObjectIdis only use for logging operations.Maybe it is safer to pass
diaSourceId(at the root level and always defined), which is an ID for the source.