Skip to content

Commit 1b3638e

Browse files
authored
use linebot.v3 API in fastapi-echo example. (#528)
1 parent 8db5c5b commit 1b3638e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/fastapi-echo/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717

1818
from fastapi import Request, FastAPI, HTTPException
1919

20-
from linebot import (
21-
WebhookParser
22-
)
20+
from linebot.v3.webhook import WebhookParser
2321
from linebot.v3.messaging import (
2422
AsyncApiClient,
2523
AsyncMessagingApi,

0 commit comments

Comments
 (0)