mirror of
https://github.com/Lawin0129/LawinServer.git
synced 2026-01-13 02:42:22 +01:00
Update user.js
This commit is contained in:
@@ -55,8 +55,8 @@ express.get("/account/api/public/account", async (req, res) => {
|
||||
|
||||
if (Array.isArray(req.query.accountId)) {
|
||||
for (var x in req.query.accountId) {
|
||||
if (accounts.find(i => i.id == req.query.accountId[x].toLowerCase())) {
|
||||
response.push(accounts.find(i => i.id == req.query.accountId[x].toLowerCase()))
|
||||
if (accounts.find(i => i.id == req.query.accountId[x])) {
|
||||
response.push(accounts.find(i => i.id == req.query.accountId[x]))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user