From 44df5f044144cd5cddbfa94ca1dee7b920d11b32 Mon Sep 17 00:00:00 2001 From: undefined Date: Wed, 10 Jun 2026 23:39:48 +0800 Subject: [PATCH] core: fix setting getAccess --- packages/hydrooj/src/settings.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hydrooj/src/settings.ts b/packages/hydrooj/src/settings.ts index 62d8c4113..70568eef1 100644 --- a/packages/hydrooj/src/settings.ts +++ b/packages/hydrooj/src/settings.ts @@ -181,7 +181,7 @@ export class SettingService extends Service { if (path.some((p) => typeof p === 'symbol')) return currentValue; return new Proxy(currentValue, { get(self, key: string) { - return getAccess([...path, ...key]); + return getAccess([...path, key]); }, set(self, p: string | symbol, newValue: any) { that.setConfig([...path, p].join(','), newValue);