fix(about-report-resolver): 転送設定を一度有効にすると戻すことができない問題を修正 (MisskeyIO#812)
Cherry-picked from atsu1125/misskey-core@5001b4b77c Co-authored-by: atsu1125 <atsuchan@atsuchan.page>
This commit is contained in:
parent
6cebb2b9ed
commit
43f0b9a73c
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
|
|||
} else if (ps.reportContentPattern === null) {
|
||||
properties.reportContentPattern = null;
|
||||
}
|
||||
if (ps.forward) properties.forward = ps.forward;
|
||||
if (ps.forward !== undefined) properties.forward = ps.forward;
|
||||
if (ps.expiresAt) {
|
||||
let expirationDate: Date | null = new Date();
|
||||
const previousMonth = expirationDate.getUTCMonth();
|
||||
|
|
Loading…
Reference in a new issue