diff options
Diffstat (limited to 'lib/client/src')
-rw-r--r-- | lib/client/src/channels.ts | 2 | ||||
-rw-r--r-- | lib/client/src/types.ts | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/client/src/channels.ts b/lib/client/src/channels.ts index 6ddecca..d5dcc8f 100644 --- a/lib/client/src/channels.ts +++ b/lib/client/src/channels.ts @@ -91,7 +91,7 @@ export const createScopedChannelApi = (channelFile: string, channelId: string): //Await the selected channel index const channel = await index //Get the post index from the channel - return channel ? `${channel.path}/${channel.content}` : undefined; + return channel ? `${channel.path}/content.json` : undefined; } return{ diff --git a/lib/client/src/types.ts b/lib/client/src/types.ts index aa158e9..6e90a40 100644 --- a/lib/client/src/types.ts +++ b/lib/client/src/types.ts @@ -74,6 +74,10 @@ export interface CMNextApi<T> { */ export interface ChannelMeta extends CMNextEntity { /** + * The name of the channel + */ + readonly name: string; + /** * The base path of the channel */ readonly path: string; |