fix(agent-office): bookmark field name + service_proxy contract + mktemp

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-04-28 09:09:05 +09:00
parent 7b3ddd1b19
commit 1d6c1b4329
4 changed files with 23 additions and 14 deletions

View File

@@ -84,10 +84,10 @@ async def _handle_realestate_bookmark(callback_query: dict, callback_id: str) ->
try:
result = await service_proxy.realestate_bookmark_toggle(ann_id)
bookmarked = result.get("bookmarked", None)
if bookmarked is True:
is_on = result.get("is_bookmarked")
if is_on == 1:
await send_raw(f"🔖 북마크 추가 완료 (#{ann_id})")
elif bookmarked is False:
elif is_on == 0:
await send_raw(f"🔖 북마크 해제 완료 (#{ann_id})")
else:
await send_raw(f"🔖 북마크 토글 완료 (#{ann_id})")