Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 68d970e

Browse files
committed
Update Readme
1 parent 7362e23 commit 68d970e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Client.task.getAll(); // ["task 1", "task 2", ...]
5151
Client.project.getAll(); // ["Project 1", "Project 2", ...]
5252
```
5353

54-
### Client.resouce_type.getAllJSON()
54+
### Client.resource_type.getAllJSON()
5555

5656
This method returns an array of Titles/Names (JSON) of all objects from the type. The JSON has all the tasks/projects info.
5757

@@ -64,7 +64,7 @@ Client.task.getAllJSON(); // [{taskObject}, {taskObject}, {taskObject}, ...]
6464
Client.project.getAllJSON(); // [{projectObject}, {projectObject}, {projectObject}]
6565
```
6666

67-
### Client.create( { type: string } , todoistResource)
67+
### Client.resource_type.create( todoistResource )
6868

6969
This method allows creating todoist resources (tasks, projects, ...).
7070

0 commit comments

Comments
 (0)