feat(chalice): fixed notes
This commit is contained in:
parent
781d485c2c
commit
a03a855ab5
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ def share_to_slack(tenant_id, user_id, project_id, note_id, webhook_id):
|
|||
note = get_note(tenant_id=tenant_id, project_id=project_id, user_id=user_id, note_id=note_id, share=user_id)
|
||||
if note is None:
|
||||
return {"errors": ["Note not found"]}
|
||||
session_url = urljoin(config('SITE_URL'), f"{note['projectId']}/sessions/{note['sessionId']}")
|
||||
session_url = urljoin(config('SITE_URL'), f"{note['projectId']}/session/{note['sessionId']}")
|
||||
title = f"<{session_url}|Note for session {note['sessionId']}>"
|
||||
|
||||
blocks = [{"type": "section",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue