mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 20:49:06 +01:00
Merge pull request #1379 from akihikodaki/misc
This commit is contained in:
commit
ae9a5e65f3
@ -24,7 +24,7 @@ export default async function resolve(query, verifier?: string): Promise<IWebFin
|
|||||||
|
|
||||||
if (typeof verifier === 'string') {
|
if (typeof verifier === 'string') {
|
||||||
if (subject !== verifier) {
|
if (subject !== verifier) {
|
||||||
throw new Error;
|
throw new Error();
|
||||||
}
|
}
|
||||||
|
|
||||||
return finger;
|
return finger;
|
||||||
@ -34,5 +34,5 @@ export default async function resolve(query, verifier?: string): Promise<IWebFin
|
|||||||
return resolve(subject, subject);
|
return resolve(subject, subject);
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new Error;
|
throw new Error();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user