Commit a21cd1ea by sunqi02

feat: wire push_type parameter through API endpoint

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 1e7ca9c2
......@@ -65,7 +65,7 @@ async def send_by_phone(
sender = PhoneMessageSender(db=db, im_service=im_service)
try:
result = await sender.send_by_phone(phone=req.phone, content=req.content)
result = await sender.send_by_phone(phone=req.phone, content=req.content, push_type=req.push_type)
except SendByPhoneError as e:
raise HTTPException(status_code=400, detail=str(e))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!