mirror of
https://github.com/hexastack/hexabot
synced 2024-12-02 09:05:06 +00:00
fix: remove quick replies unused id field
This commit is contained in:
parent
a7f8a205af
commit
66c3533b4b
@ -134,7 +134,6 @@ export const PostbackInput = ({
|
|||||||
return acc.concat(postbackQuickReplies);
|
return acc.concat(postbackQuickReplies);
|
||||||
}, [] as (StdQuickReply & { group: string })[])
|
}, [] as (StdQuickReply & { group: string })[])
|
||||||
.map((btn) => ({
|
.map((btn) => ({
|
||||||
id: btn.payload as string,
|
|
||||||
label: btn.title as string,
|
label: btn.title as string,
|
||||||
value: btn.payload as string,
|
value: btn.payload as string,
|
||||||
type: PayloadType.quick_reply,
|
type: PayloadType.quick_reply,
|
||||||
|
Loading…
Reference in New Issue
Block a user