diff --git a/app/database/models/server/channel_info.ts b/app/database/models/server/channel_info.ts index b10a06b1e..b80fbe065 100644 --- a/app/database/models/server/channel_info.ts +++ b/app/database/models/server/channel_info.ts @@ -37,7 +37,7 @@ export default class ChannelInfoModel extends Model implements ChannelInfoInterf /** pinned_post_count : The number of post pinned in this channel */ @field('pinned_post_count') pinnedPostCount!: number; - /** pinned_post_count : The number of files in this channel */ + /** files_count : The number of files in this channel */ @field('files_count') filesCount!: number; /** purpose: The intention behind this channel */ diff --git a/types/database/models/servers/channel_info.ts b/types/database/models/servers/channel_info.ts index da718b3e9..5828a0231 100644 --- a/types/database/models/servers/channel_info.ts +++ b/types/database/models/servers/channel_info.ts @@ -26,6 +26,7 @@ declare class ChannelInfoModel extends Model { /** pinned_post_count : The number of post pinned in this channel */ pinnedPostCount: number; + /** files_count : The number of files in this channel */ filesCount: number; /** purpose: The intention behind this channel */