Skip to content

Commit

Permalink
feat(api): Add templateInstances to successCallBack
Browse files Browse the repository at this point in the history
  • Loading branch information
kajarosz committed Aug 21, 2024
1 parent 72f7307 commit 6910705
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/api/Metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,11 @@ class Metadata extends File {
*/
async getMetadata(
file: BoxItem,
successCallback: ({ editors: Array<MetadataEditor>, templates: Array<MetadataTemplate> }) => void,
successCallback: ({
editors: Array<MetadataEditor>,
templateInstances: Array<MetadataTemplateInstance>,
templates: Array<MetadataTemplate>,
}) => void,
errorCallback: ElementsErrorCallback,
hasMetadataFeature: boolean,
options: RequestOptions = {},
Expand Down

0 comments on commit 6910705

Please sign in to comment.