소스 검색

feat: Change Google Docs export format to markdown

Taylor Wilsdon (aider) 5 달 전
부모
커밋
b46f4ff3e0
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      src/lib/utils/google-drive-picker.ts

+ 1 - 4
src/lib/utils/google-drive-picker.ts

@@ -136,14 +136,11 @@ export const createPicker = () => {
 							if (mimeType.includes('google-apps')) {
 								// Handle Google Workspace files
 								if (mimeType.includes('document')) {
-									exportFormat =
-										'application/vnd.openxmlformats-officedocument.wordprocessingml.document';
+									exportFormat = 'text/markdown';
 								} else if (mimeType.includes('spreadsheet')) {
 									exportFormat = 'text/csv';
 								} else if (mimeType.includes('presentation')) {
 									exportFormat = 'text/plain';
-									exportFormat =
-										'application/vnd.openxmlformats-officedocument.presentationml.presentation';
 								} else {
 									exportFormat = 'application/pdf';
 								}