Skip to content

Commit

Permalink
Fix resource list response
Browse files Browse the repository at this point in the history
  • Loading branch information
aon committed Aug 23, 2022
1 parent e684bd8 commit 6a5d9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/bot-responses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const RESOURCE_NOT_FOUND = (resource: Resource, name: string) => ({

export const RESOURCE_LIST = (resource: Resource, list: string[]) => ({
title: `🔎 ${capitalizeFirstLetter(resource)}s found:`,
description: `${list.map((item) => ` - ${item}`).join("\n")}`,
description: `${list.map((item) => `- ${item}`).join("\n")}`,
});

export const RESOURCE_LIST_EMPTY = (resource: Resource) => ({
Expand Down

0 comments on commit 6a5d9fc

Please sign in to comment.