Skip to content

Commit 3477621

Browse files
authored
search example the first arg: 'path'
it looks like you need to put that argument as well
1 parent 74b8b4b commit 3477621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ query = {unseen: true, not: {seen: true}}
479479
### Example
480480

481481
```javascript
482-
client.search({unseen: true}, {byUid: true}).then((result) => {
482+
client.search('INBOX', {unseen: true}, {byUid: true}).then((result) => {
483483
result.forEach((uid) => console.log('Message ' + uid + ' is unread'));
484484
});
485485
```

0 commit comments

Comments
 (0)