Skip to content

Commit fb41db2

Browse files
fix (spaces): complete getFolders endpoint path (#20)
Fixes #19 * 2.0.1
1 parent afe927b commit fb41db2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "clickup.js",
3-
"version": "2.0.0",
3+
"version": "2.0.1",
44
"description": "A Node.js wrapper for the Clickup API",
55
"main": "./src/index.js",
66
"dependencies": {

src/routes/Spaces.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class Spaces {
6464
*/
6565
async getFolders(spaceId, archived = false) {
6666
return this._client.get({
67-
endpoint: `${this.route}/${spaceId}`,
67+
endpoint: `${this.route}/${spaceId}/folder`,
6868
params: {
6969
archived,
7070
},

0 commit comments

Comments
 (0)