mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2025-04-10 14:11:22 -06:00
Merge pull request #102 from xPaw/dupe-search
This commit is contained in:
commit
57b68651df
@ -16,8 +16,9 @@ export const searchBskyUser = async ({
|
||||
userData.twAccountNameReplaceUnderscore,
|
||||
userData.twDisplayName,
|
||||
];
|
||||
const uniqueSearchTerms = new Set(searchTerms);
|
||||
|
||||
for (const term of searchTerms) {
|
||||
for (const term of uniqueSearchTerms) {
|
||||
// one symbol is not a valid search term for bsky
|
||||
if (!term || isOneSymbol(term)) {
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user