fix(slack): apply limit parameter to emoji-list action (#13421)

Merged via /review-pr -> /prepare-pr -> /merge-pr.

Prepared head SHA: 67e9b648581c30a6472ac993dcc404e2d104ad1c
Co-authored-by: mcaxtr <7562095+mcaxtr@users.noreply.github.com>
Co-authored-by: steipete <58493+steipete@users.noreply.github.com>
Reviewed-by: @steipete
This commit is contained in:
Marcus Castro
2026-02-13 14:20:41 -03:00
committed by GitHub
parent 86e4fe0a7a
commit 3d921b6157
6 changed files with 71 additions and 6 deletions
+2 -1
View File
@@ -426,8 +426,9 @@ export const slackPlugin: ChannelPlugin<ResolvedSlackAccount> = {
}
if (action === "emoji-list") {
const limit = readNumberParam(params, "limit", { integer: true });
return await getSlackRuntime().channel.slack.handleSlackAction(
{ action: "emojiList", accountId: accountId ?? undefined },
{ action: "emojiList", limit, accountId: accountId ?? undefined },
cfg,
);
}