From 22af0306fa5e1665320654925ebd88a25f9df9b5 Mon Sep 17 00:00:00 2001 From: split Date: Thu, 21 Nov 2024 19:52:10 -0800 Subject: [PATCH] fix: :bug: fix bsky login --- package.json | 2 +- src/translators/bluesky.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index cda1cd7..de2b76e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "avahooks", - "version": "1.0.0", + "version": "1.0.1", "main": "index.js", "scripts": { "start": "node ./dist/index.js", diff --git a/src/translators/bluesky.ts b/src/translators/bluesky.ts index abcb3ba..7b46fd1 100644 --- a/src/translators/bluesky.ts +++ b/src/translators/bluesky.ts @@ -64,7 +64,7 @@ export default translator({ // login to bluesky const { accessJwt, did }: { accessJwt: string; did: string } = - await uaxrpc("POST", "/xrpc/com.atproto.server.createSession", { + await uaxrpc("POST", "com.atproto.server.createSession", { identifier, password, })