Skip to content

Commit

Permalink
fix: insertDocs() not returning app id for static projector response
Browse files Browse the repository at this point in the history
  • Loading branch information
hyrious committed Jan 18, 2024
1 parent d89abfd commit 4984ddc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Unreleased

- Added toolbar config `placement: "left" | "right"` and `items: ToolbarItem[]` to further control the style of toolbar.
- Fixed `insertDocs()` on projector's static response not returning the correct `appId`.

## 0.3.10

Expand Down
2 changes: 1 addition & 1 deletion packages/fastboard-core/src/impl/FastboardApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ export class FastboardApp<TEventData extends Record<string, any> = any> extends
const { width, height, url } = arg2.images[name];
scenes.push({ name, ppt: { width, height, src: url } });
}
this._insertDocsImpl({ fileType: "pdf", scenePath, scenes, title });
return this._insertDocsImpl({ fileType: "pdf", scenePath, scenes, title });
} else {
throw new Error("Invalid input: not found 'progress', 'prefix' nor 'images'");
}
Expand Down

0 comments on commit 4984ddc

Please sign in to comment.