chore: format

This commit is contained in:
Timothy Jaeryang Baek
2025-05-10 19:00:01 +04:00
parent 3a79840a87
commit c61790b355
57 changed files with 344 additions and 172 deletions
+5 -4
View File
@@ -40,7 +40,7 @@ class OneDriveConfig {
headers,
credentials: 'include'
});
if (!response.ok) {
throw new Error('Failed to fetch OneDrive credentials');
}
@@ -66,9 +66,10 @@ class OneDriveConfig {
await this.ensureInitialized(authorityType);
if (!this.msalInstance) {
const authorityEndpoint = this.currentAuthorityType === 'organizations'
? (this.sharepointTenantId || 'common')
: 'consumers';
const authorityEndpoint =
this.currentAuthorityType === 'organizations'
? this.sharepointTenantId || 'common'
: 'consumers';
const msalParams = {
auth: {
authority: `https://login.microsoftonline.com/${authorityEndpoint}`,