parent
75ab146860
commit
c1c955031e
4 changed files with 4 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue