mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2025-09-13 07:23:32 -06:00
refactor: use bskyClient
This commit is contained in:
@@ -131,13 +131,10 @@ export const useBskyUserManager = () => {
|
||||
|
||||
if (actionMode === ACTION_MODE.IMPORT_LIST) {
|
||||
const userDids = filteredUsers.map((user) => user.did);
|
||||
await chrome.runtime.sendMessage({
|
||||
name: "createListAndAddUsers",
|
||||
body: {
|
||||
name: listName,
|
||||
description: "List imported via Sky Follower Bridge",
|
||||
userDids,
|
||||
},
|
||||
await bskyClient.current.createListAndAddUsers({
|
||||
name: listName,
|
||||
description: "List imported via Sky Follower Bridge",
|
||||
userDids,
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user