style(analytics): reorder imports and apply consistent formatting

This commit is contained in:
MythEclipse
2026-06-03 18:20:27 +07:00
parent b8979cbee1
commit 58f5d4f7ce
4 changed files with 24 additions and 17 deletions
@@ -1,6 +1,6 @@
import { config } from "../../shared/config/index.js";
import { ForbiddenError, ValidationError } from "@bete/shared/errors";
import { createChildLogger } from "@bete/shared/logger";
import { config } from "../../shared/config/index.js";
import { analyticsRepository } from "./analytics.repository.js";
import type { AnalyticsQuery } from "./analytics.schema.js";
@@ -99,7 +99,10 @@ export class AnalyticsService {
limit = 20,
) {
this.assertMonitorGuild(guildId);
logger.debug({ guildId, channelId, hours, limit }, "Getting moderation actions");
logger.debug(
{ guildId, channelId, hours, limit },
"Getting moderation actions",
);
return analyticsRepository.getModerationActions(
guildId,
channelId,