Skip to content

Commit

Permalink
Merge pull request #61 from jphacks/feature/start_with_graph
Browse files Browse the repository at this point in the history
add anlyzer show url
  • Loading branch information
motty-mio2 authored Nov 17, 2023
2 parents 544e702 + ef92a45 commit 71cd8d0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/kb_2315/backend/api/endpoints/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from kb_2315 import notify
from kb_2315.backend.crud import crud_session
from kb_2315.backend.schemas import schema_session
from kb_2315.config import conf


router = APIRouter()
Expand All @@ -14,6 +15,7 @@
def create_session(device_id: int) -> schema_session.create_session:
session_id: UUID = crud_session.add_session(device_id=device_id)

notify.line.send_message(message=f"乾燥を開始しました\n{conf.host_url}/analyze/?session_id={session_id}\n\n靴を選んでください")
notify.line.shoe_select_carousel(session_id=session_id)

return schema_session.create_session(session_id=session_id)

0 comments on commit 71cd8d0

Please sign in to comment.