Commit 88e27817 authored by Corentin Barreau's avatar Corentin Barreau
Browse files

Fix: discovered endpoint

parent 80007999
......@@ -24,7 +24,7 @@ func (c *Client) Discovered(URLs []string, URLType string) (discoveredResponse *
}
// build request
req, err := http.NewRequest("POST", discoveredEndpoint.String(), bytes.NewReader(jsonPayload))
req, err := http.NewRequest("POST", DiscoveredEndpoint.String(), bytes.NewReader(jsonPayload))
if err != nil {
return discoveredResponse, err
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment