summaryrefslogtreecommitdiff
path: root/packages/backend/src/core/MetaService.ts
diff options
context:
space:
mode:
authorMarie <marie@kaifa.ch>2024-01-22 19:58:43 +0100
committerMarie <marie@kaifa.ch>2024-01-22 19:58:43 +0100
commitfd69a2fbbdd6c0f9f1a77da8d8ed8b4e6a96bfa2 (patch)
tree4b33fbfff4fd7692eacd9ca93744fb7568604dd5 /packages/backend/src/core/MetaService.ts
parentchore: rename "Misskey Games" to "Games" (diff)
parentfix of #13014 (misskey-js publish) (diff)
downloadsharkey-fd69a2fbbdd6c0f9f1a77da8d8ed8b4e6a96bfa2.tar.gz
sharkey-fd69a2fbbdd6c0f9f1a77da8d8ed8b4e6a96bfa2.tar.bz2
sharkey-fd69a2fbbdd6c0f9f1a77da8d8ed8b4e6a96bfa2.zip
merge: upstream
Diffstat (limited to 'packages/backend/src/core/MetaService.ts')
-rw-r--r--packages/backend/src/core/MetaService.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/backend/src/core/MetaService.ts b/packages/backend/src/core/MetaService.ts
index 80e8020961..8e945e3d89 100644
--- a/packages/backend/src/core/MetaService.ts
+++ b/packages/backend/src/core/MetaService.ts
@@ -51,7 +51,10 @@ export class MetaService implements OnApplicationShutdown {
const { type, body } = obj.message as GlobalEvents['internal']['payload'];
switch (type) {
case 'metaUpdated': {
- this.cache = body;
+ this.cache = { // TODO: このあたりのデシリアライズ処理は各modelファイル内に関数としてexportしたい
+ ...body,
+ proxyAccount: null, // joinなカラムは通常取ってこないので
+ };
break;
}
default: