Follow logic is backwards
@julianlam đang làm issue này rồi.
Từ ngày 14/7/2020.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
For rewriting when this API is merged into core...
Follow's API is of the format /api/v2/users/:uid/follow where :uid is the person to follow, and _uid (or the uid from the non-master key) is the person whose edit list we are editing.
- This does not follow the convention of assuming that
:uidis always referring to the subject. - This also does not allow for situations where an admin with a non-master token wants to edit a user's follow list (the API will always only allow them to edit their own list
The API should be: /api/v2/users/:uid/follow/:targetUid where:
_uidis the calling user (for permissions checking and so on)uidis the user whose follow list you are editingtargetUidis the user you are (un)following
- Ngôn ngữ chính
- JavaScript
- Star
- 136
- Fork
- 75
- Merge trung bình
- 1 phút
- Pull request đã merge (30 ngày)
- 8
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NodeBB/nodebb-plugin-write-api
-
Dependency Dashboard Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
NodeBB/nodebb-plugin-write-api#127 · 3 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
NodeBB/nodebb-plugin-write-api#118 · 4 bình luận ·
-
enhancement
NodeBB/nodebb-plugin-write-api#87 · 5 bình luận · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
Tất cả issue của NodeBB/nodebb-plugin-write-api
Issue tương tự
-
bug confirmed issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
open-webui/open-webui#30750 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Mend: dependency security vulnerability untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100