We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ef02f2 commit 5fa07e2Copy full SHA for 5fa07e2
examples/index.mjs
@@ -368,8 +368,8 @@ async function createAndAttachAndDeleteFileFieldItem(client) {
368
// Delete a file field from an item
369
let deletedItem = await client.items.files.delete(
370
attachedItem,
371
- "custom section",
372
- "new_file_field",
+ attachedItem.files[1].sectionId,
+ attachedItem.files[1].fieldId,
373
);
374
// [developer-docs.sdk.js.delete-file-field-item]-end
375
0 commit comments