This commit is contained in:
syuilo 2019-04-10 18:05:39 +09:00
parent bf19ae7950
commit 048118aec2

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