fix: add block body to sort arrow function
Node.js CI / CI (pull_request) Successful in 41s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m10s

This commit is contained in:
2026-03-31 17:49:11 -07:00
committed by Naomi Carrigan
parent f01dc30089
commit 135d260ef5
+3 -1
View File
@@ -31,6 +31,8 @@ export class Sanctions {
private async loadSanctions(): Promise<void> { private async loadSanctions(): Promise<void> {
const sanctions = await this.sanctionsService.getSanctions(); const sanctions = await this.sanctionsService.getSanctions();
this.sanctions = sanctions.sort((a, b) => b.number - a.number); this.sanctions = sanctions.sort((a, b) => {
return b.number - a.number;
});
} }
} }