cleanup(ApNoteService.ts)

This commit is contained in:
okayurisotto 2023-07-03 06:12:26 +09:00
parent d8f0d76973
commit bfc22e9518

View File

@ -111,12 +111,10 @@ export class ApNoteService {
const entryUri = getApId(value);
const err = this.validateNote(object, entryUri);
if (err) {
this.logger.error(`${err.message}`, {
resolver: {
history: resolver.getHistory(),
},
value: value,
object: object,
this.logger.error(err.message, {
resolver: { history: resolver.getHistory() },
value,
object,
});
throw new Error('invalid note');
}