Skip to content

Commit

Permalink
update response body check (#212)
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowonpaper authored Nov 23, 2024
1 parent accffd0 commit 8b7533a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export async function sendTokenRevocationRequest(request: Request): Promise<void
} catch (e) {
throw new ArcticFetchError(e);
}
if (response.ok && response.body === null) {
if (response.ok) {
return;
}
let data: unknown;
Expand Down

0 comments on commit 8b7533a

Please sign in to comment.