mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-24 06:55:12 +00:00
maybe improve note validation on update?
This commit is contained in:
parent
bc816cb166
commit
9dbed8fb3e
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ export class ApNoteService {
|
|||
const object = await resolver.resolve(value);
|
||||
|
||||
const entryUri = getApId(value);
|
||||
const err = this.validateNote(object, entryUri);
|
||||
const err = this.validateNote(object, entryUri, actor, user, UpdatedNote);
|
||||
if (err) {
|
||||
this.logger.error(err.message, {
|
||||
resolver: { history: resolver.getHistory() },
|
||||
|
|
Loading…
Reference in a new issue