Skip to content

Commit bd199f6

Browse files
committed
[Hub] find key by value
Signed-off-by: Vishal Rana <[email protected]>
1 parent aa485c5 commit bd199f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gopkg.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hub/hub.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func NewWithOptions(apiKey string, options Options) (h *Hub) {
5454
}
5555
res, err := h.resty.R().
5656
SetResult(h.key).
57-
Get("/keys/" + h.key.ID)
57+
Get("/keys")
5858
if err != nil {
5959
h.logger.Fatal(err)
6060
}

0 commit comments

Comments
 (0)