- From: bediu <notifications@github.com>
- Date: Fri, 28 Feb 2025 12:56:32 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 28 February 2025 20:56:36 UTC
bediu left a comment (whatwg/fetch#551) thank you for making my code look ugly ```javascript await fetch(endpoint, { method, headers, ...(method !== 'GET' && { body: JSON.stringify(body) }) /** * Courtesy of: * https://github.com/whatwg/fetch/issues/551 */ }); ``` -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/551#issuecomment-2691531154 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/551/2691531154@github.com>
Received on Friday, 28 February 2025 20:56:36 UTC