Fix typo - invalied (#5433)

* Fix typo - invelied

* fix Valied
This commit is contained in:
MeiMei
2019-09-15 23:27:33 +09:00
committed by syuilo
parent 75ab146860
commit c1c955031e
4 changed files with 4 additions and 4 deletions

View File

@@ -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({