|
@@ -61,7 +61,7 @@ async function createChannel(
|
|
|
channel.id = id
|
|
|
channel.title = p.title
|
|
|
channel.description = p.description
|
|
|
- channel.isCurated = p.isCurated
|
|
|
+ channel.isCurated = !!p.isCurated
|
|
|
channel.isPublic = p.isPublic
|
|
|
channel.coverPhotoUrl = p.coverPhotoUrl
|
|
|
channel.avatarPhotoUrl = p.avatarPhotoUrl
|
|
@@ -216,7 +216,7 @@ async function createVideo(
|
|
|
video.description = p.description
|
|
|
video.duration = p.duration
|
|
|
video.hasMarketing = p.hasMarketing
|
|
|
- video.isCurated = p.isCurated
|
|
|
+ video.isCurated = !!p.isCurated
|
|
|
video.isExplicit = p.isExplicit
|
|
|
video.isPublic = p.isPublic
|
|
|
video.publishedBeforeJoystream = p.publishedBeforeJoystream
|