Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/sparkly-regions-retire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ivs-functions": patch
---

Add webinar's slug to parameters in PUT when a webinar ends
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export const recordingEndedS3EventHandler = async (event: S3Event) => {
body: {
data: {
playerSrc: newPlayerSrc,
cs_uri_query: webinar.attributes.slug,
Copy link
Collaborator

@marcobottaro marcobottaro Feb 13, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this object is the PUT body, I think adding a parameter here could result in a Strapi error.
The query parameter should be added at the end of the playerSrc field value:

          playerSrc: `${newPlayerSrc}?cs_uri_query=${webinar.attributes.slug}`,

},
},
});
Expand Down
1 change: 1 addition & 0 deletions apps/ivs-functions/src/types/strapiWebinars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ export type StrapiWebinars = {
readonly data: readonly {
readonly id: string;
readonly attributes: {
readonly slug: string;
readonly startDatetime: string;
readonly endDatetime: string;
};
Expand Down