@@ -38,7 +38,7 @@ export const CategoryPropertyNamesWithId: IPropertyIdWithName = {
}
export const channelPropertyNamesWithId: IPropertyIdWithName = {
- 0: 'title',
+ 0: 'handle',
1: 'description',
2: 'coverPhotoURL',
3: 'avatarPhotoURL',
@@ -59,7 +59,7 @@ async function createChannel(
channel.version = block
channel.id = id
- channel.title = p.title
+ channel.handle = p.handle
channel.description = p.description
channel.isCurated = p.isCurated || false
channel.isPublic = p.isPublic
@@ -40,7 +40,7 @@ export interface IReference {
export interface IChannel {
- title: string
+ handle: string
description: string
coverPhotoURL: string
avatarPhotoURL: string