Automate issuer overlay creation from ticker searches

This commit is contained in:
2026-03-19 20:44:58 -04:00
parent 17de3dd72d
commit 391d6d34ce
79 changed files with 4746 additions and 695 deletions

View File

@@ -2,7 +2,7 @@ import { headers } from 'next/headers';
import { auth } from '@/lib/auth';
import { asErrorMessage, jsonError } from '@/lib/server/http';
export type AuthenticatedSession = NonNullable<
type AuthenticatedSession = NonNullable<
Awaited<ReturnType<typeof auth.api.getSession>>
>;
@@ -17,7 +17,7 @@ type RequiredSessionResult = (
}
);
export async function getAuthenticatedSession() {
async function getAuthenticatedSession() {
const session = await auth.api.getSession({
headers: await headers()
});