From e9a16208aba7cf6defbdb84fb0e3467300f01b56 Mon Sep 17 00:00:00 2001 From: Jonas Thelemann Date: Fri, 12 May 2023 16:16:11 +0200 Subject: [PATCH] docs(readme): use `_data` rather than `data` for raw requests Following https://github.com/unjs/ofetch/pull/49 the README should be updated accordingly. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1665eed..10c4728 100644 --- a/README.md +++ b/README.md @@ -233,7 +233,7 @@ If you need to access raw response (for headers, etc), can use `ofetch.raw`: ```js const response = await ofetch.raw('/sushi') -// response.data +// response._data // response.headers // ... ```