chore: format

This commit is contained in:
Timothy Jaeryang Baek 2025-03-04 22:10:47 -08:00
parent c2eada36f1
commit e2d60bd92e
2 changed files with 23 additions and 21 deletions

View File

@ -65,7 +65,6 @@ async def process_filter_functions(
**(valves if valves else {})
)
try:
# Prepare parameters
sig = inspect.signature(handler)

View File

@ -18,7 +18,6 @@ async function getCredentials() {
}
}
let msalInstance: PublicClientApplication | null = null;
// Initialize MSAL authentication
@ -44,7 +43,9 @@ async function initializeMsal() {
return msalInstance;
} catch (error) {
throw new Error('MSAL initialization failed: ' + (error instanceof Error ? error.message : String(error)));
throw new Error(
'MSAL initialization failed: ' + (error instanceof Error ? error.message : String(error))
);
}
}
@ -73,7 +74,10 @@ async function getToken(): Promise<string> {
accessToken = resp2.accessToken;
}
} catch (popupError) {
throw new Error('Failed to login: ' + (popupError instanceof Error ? popupError.message : String(popupError)));
throw new Error(
'Failed to login: ' +
(popupError instanceof Error ? popupError.message : String(popupError))
);
}
}
@ -106,7 +110,6 @@ const params = {
}
};
// Download file from OneDrive
async function downloadOneDriveFile(fileInfo: any): Promise<Blob> {
const accessToken = await getToken();