mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-24 17:26:10 +01:00
🎨 Improve renameFile api
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
c243fea81c
commit
365f1f15d5
1 changed files with 0 additions and 1 deletions
|
|
@ -309,7 +309,6 @@ func renameFile(c *gin.Context) {
|
|||
if err != nil {
|
||||
ret.Code = http.StatusForbidden
|
||||
ret.Msg = err.Error()
|
||||
c.JSON(http.StatusAccepted, ret)
|
||||
return
|
||||
}
|
||||
if filelock.IsExist(destAbsPath) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue