add CAL_URL to fix og image issue (#10172)

Co-authored-by: Raghul D <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-07-18 10:05:28 +00:00
1 parent caf3b40687
commit 2be245eefc
1 file changed
+1 -1
+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.