Skip to content

refactor: activities results endpoints & clean code by SonarScan results - #49

Open
l7wei wants to merge 4 commits into
mainfrom
copilot/refactor-activities-results-endpoints
Open

refactor: activities results endpoints & clean code by SonarScan results#49
l7wei wants to merge 4 commits into
mainfrom
copilot/refactor-activities-results-endpoints

chore: finalize refactor and lint-safe cleanup adjustments

34d0745
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Apr 20, 2026 in 21s

Annotations

Check warning on line 44 in app/verify/page.tsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'If' statement should not be the only statement in 'else' block

See more on https://sonarcloud.io/project/issues?id=NTHU-SA_Voting-System&issues=AZ2sFjFchhF0ZNhqkZF5&open=AZ2sFjFchhF0ZNhqkZF5&pullRequest=49

Check warning on line 121 in app/api/activities/[id]/route.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=NTHU-SA_Voting-System&issues=AZ2sFjH7hhF0ZNhqkZF7&open=AZ2sFjH7hhF0ZNhqkZF7&pullRequest=49

Check warning on line 120 in app/api/activities/[id]/route.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since it does not change the type of the expression.

See more on https://sonarcloud.io/project/issues?id=NTHU-SA_Voting-System&issues=AZ2sFjH7hhF0ZNhqkZF6&open=AZ2sFjH7hhF0ZNhqkZF6&pullRequest=49