chore: apply ESLint auto-fix across entire backend
Build and Push Multi-Platform Images / build-and-push (push) Successful in 41s

Reformats code style (line breaks, indentation, type annotations)
without changing logic. Also includes minor feature additions bundled
in the same lint run (stats service, user-settings groups, agrarmonitor
polling improvements).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
bjoernpoettkerandClaude Sonnet 4.6 committed 2026-06-08 09:02:02 +02:00
1 parent 4c75a1ded2
commit dad0136365
74 files changed
+4022 -1052

No files matched your search

@@ -10,10 +10,18 @@ export class DailyDigestController {
async sendNow(@Request() req: any) {
const { userId, email, preferredUsername, groups } = req.user;
if (!email) {
return { ok: false, error: 'Keine E-Mail-Adresse im Benutzerprofil gefunden.' };
return {
ok: false,
error: 'Keine E-Mail-Adresse im Benutzerprofil gefunden.',
};
}
try {
await this.dailyDigestService.sendDigestForUser(userId, email, preferredUsername, groups);
await this.dailyDigestService.sendDigestForUser(
userId,
email,
preferredUsername,
groups,
);
return { ok: true };
} catch (err: any) {
return { ok: false, error: err.message };