fix(server): アンテナ再有効の手段にアンテナ設定の更新を追加 (#11036)

* fix(server): アンテナ再有効の手段にアンテナの表示とアンテナ設定の更新を追加

* 無効+Redisも空なアンテナの再有効化手段を antennas/update だけに
This commit is contained in:
meron
2023-07-21 10:06:11 +09:00
committed by GitHub
parent 0d2e3df061
commit 2801946226
2 changed files with 5 additions and 0 deletions

View File

@@ -112,6 +112,8 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
withReplies: ps.withReplies,
withFile: ps.withFile,
notify: ps.notify,
isActive: true,
lastUsedAt: new Date(),
});
this.globalEventService.publishInternalEvent('antennaUpdated', await this.antennasRepository.findOneByOrFail({ id: antenna.id }));