mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 09:23:48 +01:00
Invoke a constructor with parentheses
This commit is contained in:
parent
655846f5cf
commit
634a1be950
@ -24,7 +24,7 @@ export default async function resolve(query, verifier?: string): Promise<IWebFin
|
||||
|
||||
if (typeof verifier === 'string') {
|
||||
if (subject !== verifier) {
|
||||
throw new Error;
|
||||
throw new Error();
|
||||
}
|
||||
|
||||
return finger;
|
||||
@ -34,5 +34,5 @@ export default async function resolve(query, verifier?: string): Promise<IWebFin
|
||||
return resolve(subject, subject);
|
||||
}
|
||||
|
||||
throw new Error;
|
||||
throw new Error();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user