Skip to content

Commit

Permalink
use blob as fetch fallback (bluesky-social#1012)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evalprime authored May 11, 2023
1 parent df6ed7d commit aee4d6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/docs/rn-fetch-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ async function fetchHandler(
} else if (resMimeType.startsWith('text/')) {
resBody = await res.text()
} else {
throw new Error('TODO: non-textual response body')
resBody = await res.blob()
}
}

Expand Down

0 comments on commit aee4d6b

Please sign in to comment.