summaryrefslogtreecommitdiff
path: root/src/api/models
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/models')
-rw-r--r--src/api/models/channel.ts (renamed from src/api/models/bbs-thread.ts)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/models/bbs-thread.ts b/src/api/models/channel.ts
index a92157c6f4..79edb71367 100644
--- a/src/api/models/bbs-thread.ts
+++ b/src/api/models/channel.ts
@@ -1,11 +1,11 @@
import * as mongo from 'mongodb';
import db from '../../db/mongodb';
-const collection = db.get('bbs_threads');
+const collection = db.get('channels');
export default collection as any; // fuck type definition
-export type IBbsThread = {
+export type IChannel = {
_id: mongo.ObjectID;
created_at: Date;
title: string;