This commit is contained in:
syuilo 2019-04-10 18:05:39 +09:00
parent 9d5a92bce6
commit 4152e59638
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -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