Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] C2-3-2, C2-3-3, C2-3-4: 最愛新增分隔線、資料夾、看板沒有成功 #288

Open
PichuChen opened this issue Sep 5, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@PichuChen
Copy link
Member

發生了什麼事? / The Problem

使用者的最愛功能沒有辦法成功新增分隔線、資料夾以及看板

如何重現 / To Reproduce

可參考 testing-script 的 C2-3-2 C2-3-3 C2-3-4

  1. 首先以 pichu3/123123 取得 pichu3 的 Access Token
  2. 透過 curl http://localhost:8081/v1/users/$1/favorites -H "Authorization: bearer $2" 確認目前狀態
    3-a. 透過 curl http://localhost:8081/v1/users/$1/favorites -H "Authorization: bearer $2" -d 'action=add_favorite' -d 'type=line' 新增分隔線,接下來用 2 的 API 來確認會發現仍然沒有分隔線

3-b. 透過 curl http://localhost:8081/v1/users/$1/favorites -H "Authorization: bearer $2" -d 'action=add_favorite' -d 'type=folder' -d 'title=test' 新增資料夾,接下來用 2 的 API 來確認會發現仍然沒有資料夾

3-c. 透過 curl http://localhost:8081/v1/users/$1/favorites -H "Authorization: bearer $2" -d 'action=add_favorite' -d 'type=board' -d 'board_id=SYSOP' 新增看板,接下來用 2 的 API 來確認會發現仍然沒有看板

預期的行為 / Expected behavior

應該要出現剛剛新增的東西

螢幕截圖 / Screenshots

截圖 2021-09-06 上午12 17 36

開發環境 / Environment

Package version: cb8fb31

@PichuChen PichuChen added the bug Something isn't working label Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant