mirror of
https://github.com/arsvendg/Stirling-PDF.git
synced 2026-07-16 11:23:10 +02:00
chore: shorten verbose block comments across SaaS branch
This commit is contained in:
@@ -100,10 +100,7 @@ async function refreshAuthToken(client: AxiosInstance): Promise<string> {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Auth headers for raw fetch() calls (SSE streams, etc.).
|
||||
* Async to match the SaaS override, which has to await the Supabase session.
|
||||
*/
|
||||
/** Auth headers for raw fetch() calls (SSE streams). Async to match SaaS override. */
|
||||
export async function getAuthHeaders(): Promise<Record<string, string>> {
|
||||
const headers: Record<string, string> = {};
|
||||
const jwt = getJwtTokenFromStorage();
|
||||
|
||||
Reference in New Issue
Block a user