parent
75ab146860
commit
c1c955031e
4 changed files with 4 additions and 4 deletions
|
|
@ -65,7 +65,7 @@ export async function resolveUser(username: string, host: string | null, option?
|
|||
// validate uri
|
||||
const uri = new URL(self.href);
|
||||
if (uri.hostname !== host) {
|
||||
throw new Error(`Invalied uri`);
|
||||
throw new Error(`Invalid uri`);
|
||||
}
|
||||
|
||||
await Users.update({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue