@clipform/mcp-server 4.11.1 → 4.11.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -19145,7 +19145,10 @@ async function createRenderPlaceholder(input) {
|
|
|
19145
19145
|
method: "POST",
|
|
19146
19146
|
body: { media_asset_id: assetId }
|
|
19147
19147
|
});
|
|
19148
|
-
if (!attached.ok)
|
|
19148
|
+
if (!attached.ok) {
|
|
19149
|
+
await failPlaceholder({ workspaceId, assetId }, `Failed to attach placeholder to node: ${attached.error}`);
|
|
19150
|
+
return void 0;
|
|
19151
|
+
}
|
|
19149
19152
|
await callApi(`/forms/${input.formId}/nodes/${input.nodeId}/media`, {
|
|
19150
19153
|
method: "PATCH",
|
|
19151
19154
|
body: { fit_media: true, show_captions: input.narrated !== false }
|
|
@@ -20433,4 +20436,4 @@ export {
|
|
|
20433
20436
|
* MIT Licensed
|
|
20434
20437
|
*)
|
|
20435
20438
|
*/
|
|
20436
|
-
//# sourceMappingURL=chunk-
|
|
20439
|
+
//# sourceMappingURL=chunk-2CWHNTIQ.js.map
|