ComputerScienceHouse / ComputerScienceHouse/conditional

GET request to mark HM as Attended

未關閉
#145 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
good first issue tech debt
主要語言
Python
星號
12
分支
39
平均合併
1 天 13 小時
30 天內合併 PR
1

描述

For some inexplicable reason I made ```@attendance_bp.route('/attendance/alter/hm//', methods=['GET'])``` a `GET` request. No idea why, it totally breaks the RESTful standards.

Nonetheless, it should be fixed.

貢獻指南

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

研究方向

找到與 /attendance/alter/hm// 匹配的 Flask route,並檢查 attendance action 是如何呼叫的。將目前僅使用 GET 的行為替換為用於變更 attendance state 的適當 method,然後驗證將 HM 標記為已出席仍然有效,且不再使用 GET 進行變更。

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

評估

技術堆疊
flask, python
領域
api, backend
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

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

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