We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb34be2 commit 9ef9806Copy full SHA for 9ef9806
1 file changed
app/composables/useAtproto.ts
@@ -1,11 +1,11 @@
1
-import type { UserSession } from '#shared/schemas/userSession'
+import type { PublicUserSession } from '#shared/schemas/publicUserSession'
2
3
export function useAtproto() {
4
const {
5
data: user,
6
pending,
7
clear,
8
- } = useFetch<UserSession | null>('/api/auth/session', {
+ } = useFetch<PublicUserSession | null>('/api/auth/session', {
9
server: false,
10
immediate: !import.meta.test,
11
})
0 commit comments