Skip to content

Commit

Permalink
Fixes conversion to KV Array bug
Browse files Browse the repository at this point in the history
  • Loading branch information
doomestee committed Nov 27, 2023
1 parent fcabc7c commit 87021ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/utilities/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function convertToKVArray(obj?: KeyValue) : KVArray {

if (obj) {
for (let k in obj) {
result.push({ key: k, value: ('' + obj["k"]) });
result.push({ key: k, value: ('' + obj[k]) });
}
}; return result;
}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "playerioclient",
"version": "1.0.1",
"version": "1.0.2",
"description": "A wrapper that sends requests and connects to PlayerIO via HTTP and WS respectively.",
"homepage": "https://github.com/doomestee/PlayerIOClient.js",
"repository": {
Expand Down

0 comments on commit 87021ab

Please sign in to comment.