Commit 9b0a846 1 parent 25f0af7 commit 9b0a846 Copy full SHA for 9b0a846
File tree 2 files changed +4
-6
lines changed
examples/studio-kit-demo/src/host
2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -513,10 +513,8 @@ const Project = () => {
513
513
displayName : `Game source: ${ Math . ceil (
514
514
Math . random ( ) * 10000 ,
515
515
) } `,
516
- metadata : {
517
- props : {
518
- type : 'integration' ,
519
- } ,
516
+ props : {
517
+ type : 'integration' ,
520
518
} ,
521
519
address : {
522
520
rtmpPull : {
Original file line number Diff line number Diff line change @@ -97,12 +97,12 @@ export const createSource = async (payload: {
97
97
projectId : string
98
98
displayName ?: string
99
99
address ?: Partial < LiveApiModel . SourceAddress >
100
- metadata ?: any
100
+ props ?: any
101
101
} ) => {
102
102
const collectionId = getUser ( ) . id
103
103
104
104
const { source } = await CoreContext . clients . LiveApi ( ) . source . createSource ( {
105
- metadata : payload . metadata || { } ,
105
+ metadata : { props : payload . props || { } } ,
106
106
collectionId,
107
107
address : payload . address ,
108
108
preview : {
You can’t perform that action at this time.
0 commit comments