Skip to content

Commit 0f0dd75

Browse files
committed
Added a TODO for missing proxy usage in board list API query
1 parent 0b8cd8d commit 0f0dd75

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: commands/board/list.go

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

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

0 commit comments

Comments
 (0)