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
This commit is contained in:
Fleny
2025-08-17 09:10:46 +02:00
committed by GitHub
parent ed85fe9a5f
commit 0b073a151d
-3
View File
@@ -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()