Skip to content

Commit

Permalink
fix(onSucess): correctly deprecate
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv committed Mar 2, 2021
1 parent 173f5f1 commit c7d04ca
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/transporter/src/concerns/retryableRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@ export function retryableRequest<TResponse>(
};

const decisions: Outcomes<TResponse> = {
/**
* @deprecated this property is deprecated in favor of `onSuccess`
*/
onSucess: response => onSuccess(response),
onSuccess: response => deserializeSuccess(response),
onRetry(response) {
const stackFrame = pushToStackTrace(response);
Expand Down

0 comments on commit c7d04ca

Please sign in to comment.