1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-28 06:48:42 +09:00

Merge pull request #1379 from akihikodaki/misc

This commit is contained in:
syuilo 2018-04-03 12:30:11 +09:00 committed by GitHub
commit 97a4ec4ff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();
} }