mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +01:00
Fix formatting in resolve-user.ts
This commit is contained in:
parent
90eabd4816
commit
a2fbf57769
@ -171,7 +171,7 @@ export async function resolveUser(
|
|||||||
return user;
|
return user;
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getSubjectHostFromUri( uri: string): Promise<string | null> {
|
export async function getSubjectHostFromUri(uri: string): Promise<string | null> {
|
||||||
try {
|
try {
|
||||||
const acct = subjectToAcct((await webFinger(uri)).subject);
|
const acct = subjectToAcct((await webFinger(uri)).subject);
|
||||||
const res = await resolveUserWebFinger(acct.toLowerCase());
|
const res = await resolveUserWebFinger(acct.toLowerCase());
|
||||||
|
Loading…
Reference in New Issue
Block a user