mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-07-08 21:38:15 +02:00
fix context cancelled error instead of error
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -516,7 +516,7 @@ func (a *APISender) SendTest(
|
||||
}
|
||||
requestBody := body.String()
|
||||
res, resBodyClose, err := a.sendRequest(
|
||||
context.Background(),
|
||||
ctx,
|
||||
apiSender,
|
||||
headers,
|
||||
url,
|
||||
@@ -632,7 +632,7 @@ func (a *APISender) SendWithCustomURL(
|
||||
)
|
||||
|
||||
resp, respBodyClose, err := a.sendRequest(
|
||||
context.Background(),
|
||||
ctx,
|
||||
apiSender,
|
||||
headers,
|
||||
url,
|
||||
|
||||
Reference in New Issue
Block a user