Skip to content

Commit

Permalink
✨ 云端支持多个数据仓库目录 siyuan-note/siyuan#5335
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Jul 4, 2022
1 parent 7b656b6 commit bf588aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -856,10 +856,8 @@ func (repo *Repo) getHistoryDirNow(now, suffix string) (ret string, err error) {
// 以下是仓库管理接口

func RemoveCloudRepo(name string, cloudInfo *CloudInfo) (err error) {
result := map[string]interface{}{}
request := httpclient.NewCloudRequest(cloudInfo.ProxyURL)
resp, err := request.
SetResult(&result).
SetBody(map[string]string{"name": name, "token": cloudInfo.Token}).
Post(cloudInfo.Server + "/apis/siyuan/dejavu/removeRepo")
if nil != err {
Expand Down

0 comments on commit bf588aa

Please sign in to comment.