add CAL_URL to fix og image issue (#10172)

Co-authored-by: Raghul D <v-raghuld@microsoft.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
This commit is contained in:
Raghul
2023-07-18 10:05:28 +00:00
committed by GitHub
co-authored by Raghul D Peer Richelsen
parent caf3b40687
commit 2be245eefc
+1 -1
View File
@@ -62,7 +62,7 @@ export const constructMeetingImage = (
`?type=meeting`,
`&title=${encodeURIComponent(title)}`,
`&meetingProfileName=${encodeURIComponent(profile.name)}`,
profile.image && `&meetingImage=${encodeURIComponent(profile.image)}`,
profile.image && `&meetingImage=${encodeURIComponent(CAL_URL + profile.image)}`,
`${users.map((user) => `&names=${encodeURIComponent(user.name)}`).join("")}`,
`${users.map((user) => `&usernames=${encodeURIComponent(user.username)}`).join("")}`,
// Joining a multiline string for readability.