From 18978a333645b808b4d8bc636996ea2ca7aa74dc Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 28 May 2023 21:59:48 +0800 Subject: [PATCH] :bug: Fix description of API `createDocWithMd` https://github.com/siyuan-note/siyuan/issues/8379 --- API.md | 3 +-- API_zh_CN.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/API.md b/API.md index 57fd50762..f59da1449 100644 --- a/API.md +++ b/API.md @@ -334,8 +334,7 @@ View API token in Settings - About, request header: `Authorization: T ``` * `data`: Created document ID - * If you use the same `path` to call this interface repeatedly, the existing document will not be overwritten, but a - new document ending with a random number will be created + * If you use the same `path` to call this interface repeatedly, the existing document will not be overwritten ### Rename a document diff --git a/API_zh_CN.md b/API_zh_CN.md index 24f182c62..1e34d893c 100644 --- a/API_zh_CN.md +++ b/API_zh_CN.md @@ -332,7 +332,7 @@ ``` * `data`:创建好的文档 ID - * 如果使用同一个 `path` 重复调用该接口,不会覆盖已有文档,而是新建随机数结尾的文档 + * 如果使用同一个 `path` 重复调用该接口,不会覆盖已有文档 ### 重命名文档