Skip to content

Enhance permission checks and validation logic - #1842

Open
Spagles wants to merge 7 commits into
BanManagement:masterfrom
Spagles:master
Open

Enhance permission checks and validation logic#1842
Spagles wants to merge 7 commits into
BanManagement:masterfrom
Spagles:master

fix: ensure comment_id is converted to a number before comparison in …

63dd324
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 30, 2026 in 27s

Annotations

Check warning on line 87 in server/routes/session.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=BanManagement_BanManager-WebUI&issues=AZ-w6oUaKElHIHuLuJBM&open=AZ-w6oUaKElHIHuLuJBM&pullRequest=1842