mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 14:05:12 +00:00
chore(backend): validateNoteの結果Errorはそのままthrowする
理由がわからないため
This commit is contained in:
parent
f4a5740412
commit
1b064d7e30
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ export class ApNoteService {
|
||||||
value,
|
value,
|
||||||
object,
|
object,
|
||||||
});
|
});
|
||||||
throw new Error('invalid note');
|
throw err;
|
||||||
}
|
}
|
||||||
|
|
||||||
const note = object as IPost;
|
const note = object as IPost;
|
||||||
|
|
Loading…
Reference in a new issue