From fa32301c1ea7a52f33b3f96042b0012b3a55590a Mon Sep 17 00:00:00 2001 From: Ashish Dhama Date: Wed, 22 Mar 2023 15:52:47 +0530 Subject: [PATCH] fix comments --- app/database/models/server/channel_info.ts | 2 +- types/database/models/servers/channel_info.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 */