🐛 fix id error

This commit is contained in:
kawamataryo
2024-02-11 20:31:35 +09:00
parent 74dc14022f
commit 2e8e22eda0
3 changed files with 13 additions and 12 deletions

View File

@@ -42,7 +42,7 @@ export class BskyClient {
}: BskyLoginParams): Promise<BskyClient> {
const client = new BskyClient();
const { data } = await client.agent.login({
identifier: identifier.replace(/^@/, ""), // if identifier is a handle name, @ is not required
identifier,
password,
});
client.me = {