Fix bug
This commit is contained in:
parent
697219e946
commit
0eb84fe874
|
@ -38,7 +38,7 @@ export default define(meta, async (ps, user) => {
|
|||
throw new ApiError(meta.errors.noSuchPage);
|
||||
}
|
||||
|
||||
publishMainStream(user.id, 'pageEvent', {
|
||||
publishMainStream(page.userId, 'pageEvent', {
|
||||
pageId: ps.pageId,
|
||||
event: ps.event,
|
||||
var: ps.var,
|
||||
|
|
Loading…
Reference in a new issue