feat(chalice): share note to MSTeams
This commit is contained in:
parent
295e074fab
commit
1f9251e7b5
2 changed files with 2 additions and 2 deletions
|
|
@ -176,7 +176,7 @@ def share_to_msteams(tenant_id, user_id, project_id, note_id, webhook_id):
|
|||
session_url = urljoin(config('SITE_URL'), f"{note['projectId']}/session/{note['sessionId']}?note={note['noteId']}")
|
||||
if note["timestamp"] > 0:
|
||||
session_url += f"&jumpto={note['timestamp']}"
|
||||
title = f"[session_url](Note for session {note['sessionId']})"
|
||||
title = f"[{session_url}](Note for session {note['sessionId']})"
|
||||
|
||||
blocks = [{
|
||||
"type": "TextBlock",
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ def share_to_msteams(tenant_id, user_id, project_id, note_id, webhook_id):
|
|||
session_url = urljoin(config('SITE_URL'), f"{note['projectId']}/session/{note['sessionId']}?note={note['noteId']}")
|
||||
if note["timestamp"] > 0:
|
||||
session_url += f"&jumpto={note['timestamp']}"
|
||||
title = f"[session_url](Note for session {note['sessionId']})"
|
||||
title = f"[{session_url}](Note for session {note['sessionId']})"
|
||||
|
||||
blocks = [{
|
||||
"type": "TextBlock",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue