Skip to content

Commit 60211db

Browse files
committed
rebase cleanup
1 parent f42a24d commit 60211db

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

app/composables/atproto/useAtproto.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
1-
import type { UserSession } from '#shared/schemas/userSession'
2-
31
export const useAtproto = createSharedComposable(function useAtproto() {
42
const {
53
data: user,
64
pending,
75
clear,
8-
} = useFetch<UserSession | null>('/api/auth/session', {
6+
} = useFetch('/api/auth/session', {
97
server: false,
108
immediate: !import.meta.test,
119
})

server/utils/atproto/oauth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { NodeOAuthClient } from '@atproto/oauth-client-node'
44
import { parse } from 'valibot'
55
import { getOAuthLock } from '#server/utils/atproto/lock'
66
import { useOAuthStorage } from '#server/utils/atproto/storage'
7-
import { LIKES_SCOPE, UNSET_NUXT_SESSION_PASSWORD } from '#shared/utils/constants'
7+
import { LIKES_SCOPE } from '#shared/utils/constants'
88
import { OAuthMetadataSchema } from '#shared/schemas/oauth'
99
// @ts-expect-error virtual file from oauth module
1010
import { clientUri } from '#oauth/config'

0 commit comments

Comments
 (0)