Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates m365 file move command to use drive.ts instead of driveUtil.ts #6423

Closed
wants to merge 1 commit into from

Conversation

Saurabh7019
Copy link
Contributor

Closes #6393

@milanholemans
Copy link
Contributor

Thank you @Saurabh7019, we'll try to review it ASAP!

@Saurabh7019 Saurabh7019 marked this pull request as ready for review October 11, 2024 08:55
@milanholemans milanholemans self-assigned this Oct 16, 2024
Copy link
Contributor

@milanholemans milanholemans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for keeping our codebase clean!

return { driveId: drive.id as string, itemId };
const driveDetails: Drive = await drive.getDriveByUrl(siteId, new URL(folderUrl), logger, verbose);
const itemId: string = await drive.getDriveItemId(driveDetails, new URL(folderUrl), logger, verbose);
return { driveId: driveDetails.id as string, itemId };
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return { driveId: driveDetails.id as string, itemId };
return { driveId: driveDetails.id!, itemId };

@milanholemans
Copy link
Contributor

Merged manually, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update m365 file move command to use drive.ts instead of driveUtil.ts
2 participants