Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
wb
gocrawlhq
Commits
88e27817
Commit
88e27817
authored
Dec 12, 2021
by
Corentin Barreau
⚜
Browse files
Fix: discovered endpoint
parent
80007999
Changes
1
Hide whitespace changes
Inline
Side-by-side
discovered.go
View file @
88e27817
...
...
@@ -24,7 +24,7 @@ func (c *Client) Discovered(URLs []string, URLType string) (discoveredResponse *
}
// build request
req
,
err
:=
http
.
NewRequest
(
"POST"
,
d
iscoveredEndpoint
.
String
(),
bytes
.
NewReader
(
jsonPayload
))
req
,
err
:=
http
.
NewRequest
(
"POST"
,
D
iscoveredEndpoint
.
String
(),
bytes
.
NewReader
(
jsonPayload
))
if
err
!=
nil
{
return
discoveredResponse
,
err
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment