diff --git a/src/server/api/endpoints/i/update-client-setting.ts b/src/server/api/endpoints/i/update-client-setting.ts index 49bcb35ae6..36de183379 100644 --- a/src/server/api/endpoints/i/update-client-setting.ts +++ b/src/server/api/endpoints/i/update-client-setting.ts @@ -26,7 +26,7 @@ export default define(meta, async (ps, user) => { [ps.name]: ps.value }, }) - .where('id = :id', { id: user.id }) + .where('userId = :id', { id: user.id }) .execute(); // Publish event