Skip to content

Commit

Permalink
Fix small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
amuwal committed Sep 8, 2024
1 parent 6547159 commit e591eb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class OnedriveFileMapper implements IFileMapper {
}

const opts: any = {};
if (file.permissions.length) {
if (file.permissions?.length) {
const permissions = await this.coreUnificationService.unify<
OriginalPermissionOutput[]
>({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class OnedriveFolderMapper implements IFolderMapper {
}

const opts: any = {};
if (folder.permissions.length) {
if (folder.permissions?.length) {
const permissions = await this.coreUnificationService.unify<
OriginalPermissionOutput[]
>({
Expand Down

0 comments on commit e591eb5

Please sign in to comment.