Skip to content

Commit 5384d6a

Browse files
committed
Fix Cannot redeclare block-scoped variable 'created'.ts(2451)
1 parent 2131f81 commit 5384d6a

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
@@ -25,10 +25,10 @@ import GenericClient, {
2525
// ...
2626

2727
const response = await GenericClient.get("https://community.mattermost.com");
28-
const { client: apiClient, created } = await getOrCreateAPIClient(
28+
const { client: apiClient, created: apiCreated } = await getOrCreateAPIClient(
2929
"https://community.mattermost.com"
3030
);
31-
const { client: wsClient, created } = await getOrCreateWebSocketClient(
31+
const { client: wsClient, created: wsCreated } = await getOrCreateWebSocketClient(
3232
"wss://community.mattermost.com"
3333
);
3434
```

0 commit comments

Comments
 (0)