Closed wf-d-whitely closed 2 years ago
Query params for the delete method were getting passed as data. In the example below, observe ?live=true does not get passed to the delete request.
delete
?live=true
const Webflow = require('webflow-api'); const api = new Webflow({ token: '<access_token>' }); const removed = api.removeItem({ collectionId: '<collection_id>', itemId: '<item_id>' }, { live: true }) removed.then(x => console.log(x));
Excellent! Thank you for your contribution @wf-d-whitely 🙇
I'll get this into the next release and bump the version @dylangarcia - thanks for the review 😎 .
v0.7.2 is published
Query params for the
delete
method were getting passed as data. In the example below, observe?live=true
does not get passed to thedelete
request.