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

Commit 6ec9e77

Browse files
committed
update readme
1 parent 531c0f3 commit 6ec9e77

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
@@ -52,7 +52,7 @@ const Client = new TDSClient(API_TOKEN); //get an api token from your todoist in
5252

5353
## API
5454

55-
### Client.getAll({type: string})
55+
### Client.getAll( { type: string } )
5656

5757
This method returns an array of Titles/Names (strings) of all objects from the type .
5858

@@ -68,7 +68,7 @@ Client.getAll({ type: "task" }); // ["task 1", "task 2", ...]
6868
Client.getAll({ type: "project" }); // ["Project 1", "Project 2", ...]
6969
```
7070

71-
### Client.create({type: string}, todoistResource)
71+
### Client.create( { type: string } , todoistResource)
7272

7373
This method allows creating todoist resources (tasks, projects, ...).
7474

0 commit comments

Comments
 (0)