Fix Drive media PATCH body type for Next build.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
4Ventures
2026-10-07 12:48:44 +02:00
parent 233d3f202e
commit 0d65614518

View File

@@ -94,7 +94,7 @@ async function replaceDriveFileContent(
Authorization: `Bearer ${token}`, Authorization: `Bearer ${token}`,
'Content-Type': mimeType, 'Content-Type': mimeType,
}, },
body: buffer, body: new Uint8Array(buffer),
} }
); );
if (!r.ok) { if (!r.ok) {