@dench.com/cli 3.11.35-staging.803 → 3.11.36-staging.805

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.
Files changed (2) hide show
  1. package/meetings.ts +3 -1
  2. package/package.json +1 -1
package/meetings.ts CHANGED
@@ -223,7 +223,9 @@ async function runShare(ctx: CrmCliContext): Promise<void> {
223
223
  const result = (await callMutation(ctx, api.sharing.set, {
224
224
  meetingEntryId,
225
225
  shared: toWorkspace,
226
- })) as { sharedWithWorkspace: boolean };
226
+ })) as { sharedWithWorkspace: boolean } | null;
227
+ // The server answers `null` for a meeting this caller cannot read.
228
+ if (!result) throw new CrmCliError(`Meeting not found: ${meetingEntryId}`);
227
229
  if (ctx.jsonOutput) {
228
230
  out(ctx, result);
229
231
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dench.com/cli",
3
- "version": "3.11.35-staging.803",
3
+ "version": "3.11.36-staging.805",
4
4
  "description": "Dench agent workspace CLI.",
5
5
  "type": "module",
6
6
  "bin": {