File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ export default class Client {
326
326
richMenuAliasId : string ,
327
327
richMenuId : string ,
328
328
) : Promise < { } > {
329
- const res = await this . http . put < { } > (
329
+ const res = await this . http . post < { } > (
330
330
`${ MESSAGING_API_PREFIX } /richmenu/alias/${ richMenuAliasId } ` ,
331
331
{
332
332
richMenuId,
Original file line number Diff line number Diff line change @@ -503,7 +503,7 @@ describe("client", () => {
503
503
it ( "updateRichMenuAlias" , async ( ) => {
504
504
const richMenuId = "test_rich_menu_id" ;
505
505
const richMenuAliasId = "test_rich_menu_alias_id" ;
506
- const scope = mockPut (
506
+ const scope = mockPost (
507
507
MESSAGING_API_PREFIX ,
508
508
"/richmenu/alias/test_rich_menu_alias_id" ,
509
509
{ richMenuId } ,
You can’t perform that action at this time.
0 commit comments