mirror of
https://github.com/snachodog/tok-to-insta-follower-bridge.git
synced 2025-04-23 20:12:22 -06:00
Merge pull request #16 from kawamataryo/bugfix/search-pure-emoji-display-name
🐛 fix #15. skip when there is no search term
This commit is contained in:
commit
9f50292c06
@ -62,6 +62,9 @@ export const searchAndInsertBskyUsers = async (
|
|||||||
|
|
||||||
// Loop over search parameters and break if a user is found
|
// Loop over search parameters and break if a user is found
|
||||||
for (const term of searchTerms) {
|
for (const term of searchTerms) {
|
||||||
|
if (!term) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
const [searchResult] = await agent.searchUser({
|
const [searchResult] = await agent.searchUser({
|
||||||
term: term,
|
term: term,
|
||||||
limit: 1,
|
limit: 1,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user