Ptt-official-app / Ptt-backend

PTT APP 的後端
BSD 3-Clause "New" or "Revised" License
208 stars 68 forks source link

[BUG] C2-7-1 ~ C2-7-3 /v1/users/{{user_id}}/drafts/{{draft_id}} 錯誤訊息調整 #274

Closed y2468101216 closed 3 years ago

y2468101216 commented 3 years ago

發生了什麼事? / The Problem

發生錯誤的時候應該要回傳錯誤訊息

如何重現 / To Reproduce

  1. curl --location --request GET 'http://localhost:8081/v1/users/SYSOP/drafts/0'

預期的行為 / Expected behavior

顯示錯誤訊息

螢幕截圖 / Screenshots

截圖 2021-08-24 下午2 59 01 截圖 2021-08-24 下午3 02 15 截圖 2021-08-24 下午3 02 43
y2468101216 commented 3 years ago

@PichuChen 我這邊測試是正常的,不過我還是先開起來方便討論