| 4571 | } |
| 4572 | |
| 4573 | static yyjson_val *dm_preview_report(yyjson_doc *envelope) { |
| 4574 | yyjson_val *root = envelope ? yyjson_doc_get_root(envelope) : NULL; |
| 4575 | return yyjson_obj_get(yyjson_obj_get(root, "structuredContent"), "doc_links"); |
| 4576 | } |
| 4577 | |
| 4578 | static bool dm_preview_status_is(yyjson_doc *envelope, const char *status) { |
| 4579 | const char *actual = yyjson_get_str(yyjson_obj_get(dm_preview_report(envelope), "status")); |
no outgoing calls
no test coverage detected