Skip to content

Commit

Permalink
type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamlangford committed Apr 30, 2024
1 parent ec5003a commit 3d7ccd7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ export async function handleGoogleRequestRejection(
return selectError(error);
}

const { status } = axiosError.response;
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-unnecessary-type-assertion -- null check above
const { status } = axiosError.response!;

if ([403, 404].includes(status)) {
const message =
Expand Down

0 comments on commit 3d7ccd7

Please sign in to comment.