fix: add hide for note list api

Signed-off-by: Innei <i@innei.in>
This commit is contained in:
Innei
2024-04-12 00:35:01 +08:00
parent 5b4f1086b2
commit 5a2b2debc4
2 changed files with 4 additions and 2 deletions

View File

@@ -103,7 +103,7 @@ export class NoteController<ResponseWrapper> implements IController {
*/
getMiddleList(id: string, size = 5) {
return this.proxy.list(id).get<{
data: Pick<NoteModel, 'id' | 'title' | 'nid' | 'created'>[]
data: Pick<NoteModel, 'id' | 'title' | 'nid' | 'created' | 'hide'>[]
size: number
}>({
params: { size },