Skip to content

Commit

Permalink
Merge pull request #1173 from CodeCrowCorp/dev
Browse files Browse the repository at this point in the history
Fix: renamed liveInputUid
  • Loading branch information
gagansuie authored Apr 25, 2024
2 parents 91e9219 + cb6b33c commit 7095862
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/components/Channel/Chat/DrawerRestream.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@
})
}
const sendOutputs = async ({ liveInputUid }: { liveInputUid: string }) => {
const sendOutputs = async ({ inputId }: { inputId: string }) => {
if ($page.data.user?.userId) {
return await post(
`outputs/send`,
{ liveInputUid },
{ inputId },
{
userId: $page.data.user?.userId,
token: $page.data.user?.token
Expand All @@ -110,7 +110,7 @@
item._id === streamItem._id ? { ...item, isEnabled: streamItem.isEnabled } : item
)
const rtmps = await getLiveInput()
await sendOutputs({ liveInputUid: rtmps.rtmps.uid })
await sendOutputs({ inputId: rtmps.rtmps.uid })
}
const linkTwitch = async () => {
Expand Down

0 comments on commit 7095862

Please sign in to comment.