chore: format + regenerate protocol
This commit is contained in:
1 parent
09bed2ccde
commit
a82217a5f3
20 files changed
+79
-74
No files matched your search
@@ -234,8 +234,7 @@ export const discordPlugin: ChannelPlugin<ResolvedDiscordAccount> = {
|
||||
}
|
||||
}
|
||||
const filtered = q ? rows.filter((row) => row.name?.toLowerCase().includes(q)) : rows;
|
||||
const limited =
|
||||
typeof limit === "number" && limit > 0 ? filtered.slice(0, limit) : filtered;
|
||||
const limited = typeof limit === "number" && limit > 0 ? filtered.slice(0, limit) : filtered;
|
||||
return limited;
|
||||
},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user