diff options
Diffstat (limited to 'frontend/app/.server')
| -rw-r--r-- | frontend/app/.server/api/client.ts | 2 | ||||
| -rw-r--r-- | frontend/app/.server/auth.ts | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/frontend/app/.server/api/client.ts b/frontend/app/.server/api/client.ts index 8f53b5b..b3c7e9c 100644 --- a/frontend/app/.server/api/client.ts +++ b/frontend/app/.server/api/client.ts @@ -1,5 +1,5 @@ import createClient from "openapi-fetch"; -import type { paths, operations } from "./schema"; +import type { operations, paths } from "./schema"; const apiClient = createClient<paths>({ baseUrl: diff --git a/frontend/app/.server/auth.ts b/frontend/app/.server/auth.ts index b7e1820..3d9a492 100644 --- a/frontend/app/.server/auth.ts +++ b/frontend/app/.server/auth.ts @@ -1,10 +1,10 @@ +import type { Session } from "@remix-run/server-runtime"; +import { jwtDecode } from "jwt-decode"; import { Authenticator } from "remix-auth"; import { FormStrategy } from "remix-auth-form"; -import { jwtDecode } from "jwt-decode"; -import type { Session } from "@remix-run/server-runtime"; -import { sessionStorage } from "./session"; import { apiPostLogin } from "./api/client"; import { components } from "./api/schema"; +import { sessionStorage } from "./session"; export const authenticator = new Authenticator<string>(sessionStorage); |
