Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c95253b

Browse files
committedMar 6, 2020
Added a TODO for missing proxy usage in board list API query
1 parent 7b0ea75 commit c95253b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎commands/board/list.go

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ func apiByVidPid(vid, pid string) ([]*rpc.BoardListItem, error) {
5353
req.Header = globals.NewHTTPClientHeader("")
5454
req.Header.Set("Content-Type", "application/json")
5555

56+
// TODO: use proxy if set
57+
5658
if res, err := http.DefaultClient.Do(req); err == nil {
5759
if res.StatusCode >= 400 {
5860
if res.StatusCode == 404 {

0 commit comments

Comments
 (0)
Please sign in to comment.