Fix Drive media PATCH body type for Next build.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user