From 0b073a151dfaf3a755ae06678936aae82b793411 Mon Sep 17 00:00:00 2001 From: Fleny Date: Sun, 17 Aug 2025 09:10:46 +0200 Subject: [PATCH] chore(rest): Remove todo about GET bodies (#4375) We do not need to do anythng with GET bodies, fetch() will even throw if a body is passed to a GET --- packages/rest/src/manager.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/rest/src/manager.ts b/packages/rest/src/manager.ts index c7a5baac2..aa7a8a1f3 100644 --- a/packages/rest/src/manager.ts +++ b/packages/rest/src/manager.ts @@ -279,9 +279,6 @@ export function createRestManager(options: CreateRestManagerOptions): RestManage let body: string | FormData | undefined - // TODO: check if we need to add specific check for GET method - // Since GET does not allow bodies - // Have to check for attachments first, since body then has to be send in a different way. if (options?.files !== undefined) { const form = new FormData()