Skip to content

Commit

Permalink
fix: stock returned as number value in JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
Ephigenia committed Feb 21, 2021
1 parent 819bd6e commit b7ca77c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/lib/iows2.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class IOWS2 {
forecast,
probability,
restockDate,
stock,
stock: parseInt(stock, 10),
};
}

Expand Down

0 comments on commit b7ca77c

Please sign in to comment.