Compare commits

..

3 Commits

Author SHA1 Message Date
dependabot[bot] 150091680c
Merge a7a0330c29 into 763c708253 2024-11-20 06:34:47 +00:00
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無効時にユーザーリストタイムラインが使用できない問題を修正 - Fix: FTT無効時にユーザーリストタイムラインが使用できない問題を修正
(Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/709) (Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/709)
- Fix: User Webhookテスト機能のMock Payloadを修正 - Fix: User Webhookテスト機能のMock Payloadを修正
- Fix: アカウント削除のモデレーションログが動作していないのを修正 (#14996)
### Misskey.js ### Misskey.js
- Fix: Stream初期化時、別途WebSocketを指定する場合の型定義を修正 - 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'); 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, private deleteAccountService: DeleteAccountService,
) { ) {
super(meta, paramDef, async (ps) => { super(meta, paramDef, async (ps, me) => {
const user = await this.usersRepository.findOneByOrFail({ id: ps.userId }); const user = await this.usersRepository.findOneByOrFail({ id: ps.userId });
if (user.isDeleted) { if (user.isDeleted) {
return; 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==} resolution: {integrity: sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==}
hasBin: true hasBin: true
node-gyp-build@4.8.3: node-gyp-build@4.8.4:
resolution: {integrity: sha512-EMS95CMJzdoSKoIiXo8pxKoL8DYxwIZXYlLmgPb8KUv794abpnLK6ynsCAWNliOjREKruYKdzbh76HHYUHX7nw==} resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==}
hasBin: true hasBin: true
node-gyp@10.2.0: node-gyp@10.2.0:
@ -16122,7 +16122,7 @@ snapshots:
bufferutil@4.0.8: bufferutil@4.0.8:
dependencies: dependencies:
node-gyp-build: 4.8.3 node-gyp-build: 4.8.4
optional: true optional: true
bullmq@5.26.1: bullmq@5.26.1:
@ -20253,7 +20253,7 @@ snapshots:
node-gyp-build@4.6.0: node-gyp-build@4.6.0:
optional: true optional: true
node-gyp-build@4.8.3: node-gyp-build@4.8.4:
optional: true optional: true
node-gyp@10.2.0: node-gyp@10.2.0:
@ -22600,7 +22600,7 @@ snapshots:
utf-8-validate@6.0.4: utf-8-validate@6.0.4:
dependencies: dependencies:
node-gyp-build: 4.8.3 node-gyp-build: 4.8.4
optional: true optional: true
util-deprecate@1.0.2: {} util-deprecate@1.0.2: {}