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

@@ -34,7 +34,7 @@ export function validateNote(object: any, uri: string) {
}
if (!validPost.includes(object.type)) {
return new Error(`invalid Note: invalied object type ${object.type}`);
return new Error(`invalid Note: invalid object type ${object.type}`);
}
if (object.id && extractDbHost(object.id) !== expectHost) {