Skip to content

Commit b2e167e

Browse files
committed
draft: check api route
1 parent 5c11dbc commit b2e167e

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

server/api/auth/atproto.get.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,7 @@ export default defineEventHandler(async event => {
7676
message: 'Handle not provided in query',
7777
})
7878
}
79-
80-
const redirectUrl = await atclient.authorize(handle, {
81-
scope,
82-
prompt: create ? 'create' : undefined,
83-
})
84-
return redirectUrl
79+
return "this api works"
8580
} catch (error) {
8681
const message = error instanceof Error ? error.message : 'Authentication failed.'
8782

0 commit comments

Comments
 (0)