Skip to content

Commit

Permalink
improve docs, as per mollie#358 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
janpaepke committed Sep 10, 2024
1 parent e21a180 commit 2653559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/communication/makeRetrying.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function parseRetryAfterHeader(response: fetch.Response): number | undefined {
export type ResponseWithIdempotencyKey = Response & { idempotencyKey: string | undefined };

/**
* Wrapper around fetch, making it attempt requests multiple times in some scenarios.
* Returns a wrapped version of fetch, making it attempt requests multiple times in some scenarios.
*
* The idea is that if the Mollie API has a brief hiccup, the extra attempts may cause the request to succeed anyway.
*
Expand Down

0 comments on commit 2653559

Please sign in to comment.