Skip to content

Commit 7934cdb

Browse files
author
John Agan
authored
Merge pull request #55 from wf-d-whitely/patch-1
`delete` method query params
2 parents 85d595a + ab3c8a1 commit 7934cdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Webflow.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default class Webflow {
9191
// Generic HTTP request handlers
9292

9393
get(path, query = {}) {
94-
return this.authenticatedFetch('GET', path, false, query);
94+
return this.authenticatedFetch('GET', path, null, query);
9595
}
9696

9797
post(path, data, query = {}) {
@@ -107,7 +107,7 @@ export default class Webflow {
107107
}
108108

109109
delete(path, query = {}) {
110-
return this.authenticatedFetch('DELETE', path, query);
110+
return this.authenticatedFetch('DELETE', path, null, query);
111111
}
112112

113113
// Meta

0 commit comments

Comments
 (0)