mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
chore: auto-fix lint & formatting [skip ci]
This commit is contained in:
1 parent
2281c19939
commit
29b15f4933
1 file changed
+4
-2
@@ -65,7 +65,8 @@ export function d1ConfigStore(db: D1Database, kv: KVNamespace): ConfigStore {
|
|||||||
if (!filters || !targets || (r.discord_role_ids && !discordRoleIds) || (r.ast && !ast)) {
|
if (!filters || !targets || (r.discord_role_ids && !discordRoleIds) || (r.ast && !ast)) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
return [{
|
return [
|
||||||
|
{
|
||||||
id: r.id,
|
id: r.id,
|
||||||
groupId: r.group_id,
|
groupId: r.group_id,
|
||||||
name: r.name,
|
name: r.name,
|
||||||
@@ -76,7 +77,8 @@ export function d1ConfigStore(db: D1Database, kv: KVNamespace): ConfigStore {
|
|||||||
fallback: r.fallback === 1,
|
fallback: r.fallback === 1,
|
||||||
discordRoleIds: discordRoleIds ?? undefined,
|
discordRoleIds: discordRoleIds ?? undefined,
|
||||||
ast: ast ?? undefined,
|
ast: ast ?? undefined,
|
||||||
}];
|
},
|
||||||
|
];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user