Compare commits

..

2 Commits

Author SHA1 Message Date
dependabot[bot] a7a0330c29
chore(deps): bump the swc-core group across 1 directory with 2 updates
Bumps the swc-core group with 2 updates in the / directory: [@swc/core-linux-x64-gnu](https://github.com/swc-project/swc) and [@swc/core-linux-x64-musl](https://github.com/swc-project/swc).


Updates `@swc/core-linux-x64-gnu` from 1.3.56 to 1.9.2
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/compare/v1.3.56...v1.9.2)

Updates `@swc/core-linux-x64-musl` from 1.3.56 to 1.9.2
- [Release notes](https://github.com/swc-project/swc/releases)
- [Changelog](https://github.com/swc-project/swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/swc-project/swc/compare/v1.3.56...v1.9.2)

---
updated-dependencies:
- dependency-name: "@swc/core-linux-x64-gnu"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: swc-core
- dependency-name: "@swc/core-linux-x64-musl"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: swc-core
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-20 06:34:44 +00:00
zawa-ch. 763c708253
Fix(backend): アカウント削除のモデレーションログが動作していないのを修正 (#14996) (#14997)
* アカウント削除のモデレーションログが動作していないのを修正

* update CHANGELOG
2024-11-19 21:12:40 +09:00
4 changed files with 9 additions and 8 deletions

View File

@ -64,6 +64,7 @@
- Fix: FTT無効時にユーザーリストタイムラインが使用できない問題を修正
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/709)
- Fix: User Webhookテスト機能のMock Payloadを修正
- Fix: アカウント削除のモデレーションログが動作していないのを修正 (#14996)
### Misskey.js
- Fix: Stream初期化時、別途WebSocketを指定する場合の型定義を修正

View File

@ -46,7 +46,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
throw new Error('cannot delete a root account');
}
await this.deleteAccoountService.deleteAccount(user);
await this.deleteAccoountService.deleteAccount(user, me);
});
}
}

View File

@ -33,13 +33,13 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
private deleteAccountService: DeleteAccountService,
) {
super(meta, paramDef, async (ps) => {
super(meta, paramDef, async (ps, me) => {
const user = await this.usersRepository.findOneByOrFail({ id: ps.userId });
if (user.isDeleted) {
return;
}
await this.deleteAccountService.deleteAccount(user);
await this.deleteAccountService.deleteAccount(user, me);
});
}
}

View File

@ -8508,8 +8508,8 @@ packages:
resolution: {integrity: sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==}
hasBin: true
node-gyp-build@4.8.3:
resolution: {integrity: sha512-EMS95CMJzdoSKoIiXo8pxKoL8DYxwIZXYlLmgPb8KUv794abpnLK6ynsCAWNliOjREKruYKdzbh76HHYUHX7nw==}
node-gyp-build@4.8.4:
resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==}
hasBin: true
node-gyp@10.2.0:
@ -16122,7 +16122,7 @@ snapshots:
bufferutil@4.0.8:
dependencies:
node-gyp-build: 4.8.3
node-gyp-build: 4.8.4
optional: true
bullmq@5.26.1:
@ -20253,7 +20253,7 @@ snapshots:
node-gyp-build@4.6.0:
optional: true
node-gyp-build@4.8.3:
node-gyp-build@4.8.4:
optional: true
node-gyp@10.2.0:
@ -22600,7 +22600,7 @@ snapshots:
utf-8-validate@6.0.4:
dependencies:
node-gyp-build: 4.8.3
node-gyp-build: 4.8.4
optional: true
util-deprecate@1.0.2: {}