diff --git a/src/utils/getCWSUsers.ts b/src/utils/getCWSUsers.ts index b71821d..78c9eb7 100644 --- a/src/utils/getCWSUsers.ts +++ b/src/utils/getCWSUsers.ts @@ -5,7 +5,7 @@ export const getCWSUsers = (extID: string) => axios.post(`https://chrome.google.com/webstore/ajax/detail?pv=20210820&id=${extID}`) .then((res) => res.data.split("\n")[2]) .then((data) => JSON.parse(data)) - .then((data) => (data[1][1][0][23]).replaceAll(/,|\+/,"")) + .then((data) => (data[1][1][0][23]).replaceAll(/,|\+/g,"")) .then((data) => parseInt(data)) .catch((err) => { Logger.error(`Error getting chrome users - ${err}`);