Skip to content

Commit

Permalink
fix: add doc limit from 128 to 20480
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Nov 5, 2024
1 parent 8821467 commit fa7b2a8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions libs/zhi-siyuan-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# zhi-siyuan-api

## 2.22.0

### Minor Changes

- add doc limit from 128 to 20480

## 2.21.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion libs/zhi-siyuan-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zhi-siyuan-api",
"version": "2.21.0",
"version": "2.22.0",
"type": "module",
"description": "a siyuan-note api including both kernel and client",
"main": "./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion libs/zhi-siyuan-api/src/lib/kernel/siyuanKernelApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ class SiyuanKernelApi implements ISiyuanKernelApi {
id: docId,
isBacklink: false,
mode: 0,
size: 128,
size: 20480,
}
const url = "/api/filetree/getDoc"
return await this.siyuanRequest(url, params)
Expand Down

0 comments on commit fa7b2a8

Please sign in to comment.