hackmdio / hackmdio/hackmd-cli

Updating a shared note result in an error

未關閉
#87 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
176
分支
13
平均合併
1 天 4 小時
30 天內合併 PR
5

描述

If we try to update a note that is not ours, but that we are allowed to edit, the note is edited but the API answers with a `403 Forbidden` answer:

```
$ hackmd-cli export --noteId jmYbFyeLQOyS2mwonYqCYw
aa
$ hackmd-cli notes update --noteId jmYbFyeLQOyS2mwonYqCYw --content="bb"
Update note content failed
Error: Received an error response (403 Forbidden) from HackMD
Code: 403
$ hackmd-cli export --noteId jmYbFyeLQOyS2mwonYqCYw
bb
```

This problem is on the hackmd API side, but I don't know on which repo to open the issue...

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

針對使用者可以編輯的共用筆記,使用 `hackmd-cli export` 和 `hackmd-cli notes update` 重現該流程。接著追蹤筆記更新命令及其 HackMD API 回應處理;當允許的更新不再回報 403,或確認該問題應歸入 HackMD API repository 時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
typescript
領域
cli
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。