Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
agsh authored Aug 28, 2020
1 parent 1204023 commit 90fa3b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const client = new Client({
});
(async () => {
await client.connect();
const messages = client.retrieveAll();
const messages = await client.retrieveAll();
messages.forEach((message) => {
console.log(message.subject);
});
Expand Down

0 comments on commit 90fa3b2

Please sign in to comment.