@arbidocs/tui 0.5.68 → 0.5.69

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.
package/dist/index.js CHANGED
@@ -1167,7 +1167,9 @@ var documentCommands = [
1167
1167
  const { args, arbi, wsContext, tui } = ctx;
1168
1168
  const url = args[0].trim();
1169
1169
  showMessage(tui, `Uploading from ${url}...`);
1170
- const result = await sdk.documents.uploadUrl(arbi, [url]);
1170
+ const result = await sdk.documents.uploadUrl(arbi, [url], {
1171
+ workspaceExtId: wsContext.workspaceId
1172
+ });
1171
1173
  const ids = (result.doc_ext_ids ?? []).join(", ");
1172
1174
  const lines = [`${colors.success("Uploaded")} from URL \u2014 doc ID(s): ${ids}`];
1173
1175
  if (result.skipped && result.skipped.length > 0) {