fix(api): resolve lint errors

This commit is contained in:
dahyeon committed 2026-07-24 21:52:35 -07:00
1 parent 96fede9fe5
commit fd1fa2366c
42 files changed
+307 -199

No files matched your search

@@ -100,7 +100,7 @@ export class RiotRecentMatchesService {
} catch (error: unknown) {
this.logger.warn(
`Skipping Riot match ${matchId} while syncing ${params.puuid}: ${
error instanceof Error ? error.message : error
error instanceof Error ? error.message : String(error)
}`,
);
}
@@ -14,6 +14,7 @@ export class RiotWebhookController {
public captureTournamentWebhook(@Req() req: RiotWebhookRequest) {
const receivedAt = new Date().toISOString();
const rawBodyText = req.rawBody?.toString('utf8') ?? null;
const body: unknown = req.body;
const logPayload = {
receivedAt,
method: req.method,
@@ -25,7 +26,7 @@ export class RiotWebhookController {
headers: req.headers,
query: req.query,
params: req.params,
body: req.body,
body,
rawBodyLength: req.rawBody?.length ?? null,
rawBodyText,
};