Compare commits

..

No commits in common. "main" and "0.63.0" have entirely different histories.
main ... 0.63.0

2 changed files with 3 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{
"name": "comty.js",
"version": "0.63.1",
"version": "0.63.0",
"main": "./dist/index.js",
"description": "Official Comty API for JavaScript",
"homepage": "https://github.com/ragestudio/comty.js",
@ -18,7 +18,7 @@
"js-cookie": "^3.0.5",
"jsonwebtoken": "^9.0.0",
"jwt-decode": "^4.0.0",
"linebridge-client": "^1.1.1",
"linebridge-client": "^1.1.0",
"luxon": "^3.6.0",
"socket.io-client": "^4.8.1"
},

View File

@ -13,10 +13,7 @@ async function injectUserDataOnList(list) {
return item.user_id
})
let users = await UserModel.data({
user_id: user_ids.join(","),
basic: true,
})
let users = await UserModel.data({ user_id: user_ids.join(",") })
if (!Array.isArray(users)) {
users = [users]