Fix bug
This commit is contained in:
parent
9d5a92bce6
commit
4152e59638
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user