diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-04-10 18:05:39 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-04-10 18:05:39 +0900 |
| commit | 4152e59638606790b4d3069e9360e129068c361c (patch) | |
| tree | 5d5942c2fb1cc021027f6566ba41358f214a665d /src/server/api | |
| parent | 11.0.0-alpha.10 (diff) | |
| download | sharkey-4152e59638606790b4d3069e9360e129068c361c.tar.gz sharkey-4152e59638606790b4d3069e9360e129068c361c.tar.bz2 sharkey-4152e59638606790b4d3069e9360e129068c361c.zip | |
Fix bug
Diffstat (limited to 'src/server/api')
| -rw-r--r-- | src/server/api/endpoints/i/update-client-setting.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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 |