maybe improve note validation on update?

This commit is contained in:
dakkar 2024-11-22 12:31:14 +00:00
parent bc816cb166
commit 9dbed8fb3e

View file

@ -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() },