diff options
Diffstat (limited to 'frontend/lib/auth.ts')
| -rw-r--r-- | frontend/lib/auth.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/lib/auth.ts b/frontend/lib/auth.ts index 55255fc..f81e73d 100644 --- a/frontend/lib/auth.ts +++ b/frontend/lib/auth.ts | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | import { cookies } from 'next/headers'; | 1 | import { cookies } from 'next/headers'; |
| 2 | import { Env_is_development } from './env'; | 2 | import { Env_is_development } from './env'; |
| 3 | import type { UserSessionCookie, UserAuth } from './auth_types'; | 3 | import type { UserSessionCookie, UserAuth } from './auth_types'; |
| 4 | import { Auth_tinyauth_endpoint } from './auth_shared'; | ||
| 4 | 5 | ||
| 5 | 6 | ||
| 6 | export async function Auth_extract_session_cookie(): Promise<UserSessionCookie | null> { | 7 | export async function Auth_extract_session_cookie(): Promise<UserSessionCookie | null> { |
| @@ -34,7 +35,6 @@ export async function Auth_get_user(): Promise<UserAuth> { | |||
| 34 | } | 35 | } |
| 35 | 36 | ||
| 36 | const cookie = await Auth_extract_session_cookie(); | 37 | const cookie = await Auth_extract_session_cookie(); |
| 37 | const { Auth_tinyauth_endpoint } = await import('./auth_shared'); | ||
| 38 | const endpoint = Auth_tinyauth_endpoint(); | 38 | const endpoint = Auth_tinyauth_endpoint(); |
| 39 | 39 | ||
| 40 | try { | 40 | try { |
