chore: auto-fix lint & formatting [skip ci]

This commit is contained in:
github-actions[bot] authored and GitHub committed 2026-10-17 03:37:45 +00:00
1 parent 2281c19939
commit 29b15f4933
2 files changed
+15 -13

No files matched your search

+14 -12
View File
@@ -65,18 +65,20 @@ export function d1ConfigStore(db: D1Database, kv: KVNamespace): ConfigStore {
if (!filters || !targets || (r.discord_role_ids && !discordRoleIds) || (r.ast && !ast)) {
return [];
}
return [{
id: r.id,
groupId: r.group_id,
name: r.name,
enabled: r.enabled === 1,
filters,
targets,
stop: r.stop === 1,
fallback: r.fallback === 1,
discordRoleIds: discordRoleIds ?? undefined,
ast: ast ?? undefined,
}];
return [
{
id: r.id,
groupId: r.group_id,
name: r.name,
enabled: r.enabled === 1,
filters,
targets,
stop: r.stop === 1,
fallback: r.fallback === 1,
discordRoleIds: discordRoleIds ?? undefined,
ast: ast ?? undefined,
},
];
});
}