core: add title to discussion.PROJECTION_LIST

This commit is contained in:
undefined committed 2021-03-08 18:38:07 +08:00
1 parent ae92dc8b4a
commit b240a46057
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hydrooj",
"version": "2.20.14",
"version": "2.20.15",
"bin": "bin/hydrooj.js",
"main": "dist/loader.js",
"typings": "dist/loader.d.ts",
+1 -1
View File
@@ -49,7 +49,7 @@ export namespace Ddoc {
export const PROJECTION_LIST: Ddoc.Field[] = [
'_id', 'domainId', 'docType', 'docId', 'highlight',
'nReply', 'views', 'pin', 'updateAt', 'owner',
'parentId', 'parentType',
'parentId', 'parentType', 'title',
];
export const PROJECTION_PUBLIC: Ddoc.Field[] = [
...PROJECTION_LIST, 'content', 'history',