From fb9643fa6ad03427a04aa17a71d1859c5687982d Mon Sep 17 00:00:00 2001 From: aidanok <52333119+aidanok@users.noreply.github.com> Date: Tue, 7 Apr 2020 15:13:38 +0100 Subject: [PATCH] add await to example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b277945..c024cd4 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ async function makeSomeDataItems() { { name: 'App-Version', value: '1.0.0' } ] - let data = ArData.createData({ to: 'awalleet', data: 'somemessage', tags: myTags }, jwk); + let data = await ArData.createData({ to: 'awalleet', data: 'somemessage', tags: myTags }, jwk); // Add some more tags after creation. ArData.addTag(data, 'MyTag', 'value1')