1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-14 18:25:17 +02:00

chore(backend): validateNoteの結果Errorはそのままthrowする

理由がわからないため
This commit is contained in:
tamaina
2024-03-09 04:10:17 +00:00
parent f4a5740412
commit 1b064d7e30

View File

@@ -129,7 +129,7 @@ export class ApNoteService {
value,
object,
});
throw new Error('invalid note');
throw err;
}
const note = object as IPost;