mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-11 21:28:12 +09:00
parent
834e360234
commit
e562b477b6
@ -43,6 +43,10 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
|
||||
return rej('note not found');
|
||||
}
|
||||
|
||||
if (note.deletedAt != null) {
|
||||
return rej('this not is already deleted');
|
||||
}
|
||||
|
||||
try {
|
||||
await create(user, note, ps.reaction);
|
||||
} catch (e) {
|
||||
|
Loading…
Reference in New Issue
Block a user