mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-10-08 00:16:54 +02:00
fix context cancelled error instead of error
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
1 parent
ce394bda0e
commit
46a162c031
1 file changed
+2
-2
@@ -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