Skip to content

Commit 415ac01

Browse files
committed
chore: clean string for mastodon url
1 parent 28377bf commit 415ac01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/api/contributors.get.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ async function fetchGitHubUserData(
199199
blueskyHandle = match[1] as string
200200
}
201201
} else if (account.provider === 'MASTODON') {
202-
mastodonUrl = account.url
202+
mastodonUrl = cleanString(account.url, true)
203203
}
204204
}
205205
}

0 commit comments

Comments
 (0)