Skip to content
This repository has been archived by the owner on Jul 5, 2023. It is now read-only.

Not in use and returns undefined #87

Open
watchful-eyes opened this issue Oct 31, 2022 · 1 comment
Open

Not in use and returns undefined #87

watchful-eyes opened this issue Oct 31, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@watchful-eyes
Copy link
Contributor

https://github.com/11TStudio/SquadStatsJSPRO/blob/8655123a977bc6a800fbf53902fbfd439990f129/base/SquadStatsJSv3.js#L1076-L1081
This data never used in ssjspro
Also should be like this

 await resp.add(
        "Matches",
        `SELECT COUNT(DISTINCT(\`match\`)) as Matches FROM DBLog_Deaths WHERE attacker = "${steamUID}" AND \`match\` IS NOT NULL`,
        "0",
        "Matches"
    );
@LeventHAN
Copy link
Owner

You are right @CO-RONA
Thanks for pointing it out, can you open a PR with the fix please so I can merge it?

@LeventHAN LeventHAN added the bug Something isn't working label Oct 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants