Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kozakura913 committed Dec 18, 2024
1 parent e764dbd commit a72aac1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
quarantineLimited = ps.isQuarantineLimit;
}
const moderationNoteBefore = instance.moderationNote;
if ((!ps.moderationNote || moderationNoteBefore === ps.moderationNote) && isQuarantineLimitBefore === quarantineLimited && isSuspendedBefore === ps.isSuspended) {
if ((!ps.moderationNote || moderationNoteBefore === ps.moderationNote) && (!quarantineLimited || isQuarantineLimitBefore === quarantineLimited) && (!suspensionState || isSuspendedBefore === ps.isSuspended)) {
//何も変更が無い時はupdateを呼ばない
//呼ぶとエラーが発生する
return;
Expand Down

0 comments on commit a72aac1

Please sign in to comment.