Skip to content

Commit 0a8c90a

Browse files
committed
fix
1 parent a2708f8 commit 0a8c90a

File tree

1 file changed

+1
-1
lines changed
  • components/google_docs/sources/common

1 file changed

+1
-1
lines changed

components/google_docs/sources/common/base.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default {
5757
async getDocuments(limit) {
5858
const foldersIds = this.folders;
5959

60-
if (!foldersIds.length) {
60+
if (!foldersIds?.length) {
6161
const opts = this.getDocumentsFromFolderOpts("root");
6262
const { files } = await this.googleDrive.listFilesInPage(null, opts);
6363
return this.getDocumentsFromFiles(files, limit);

0 commit comments

Comments
 (0)