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);
|
throw new ApiError(meta.errors.noSuchPage);
|
||||||
}
|
}
|
||||||
|
|
||||||
publishMainStream(user.id, 'pageEvent', {
|
publishMainStream(page.userId, 'pageEvent', {
|
||||||
pageId: ps.pageId,
|
pageId: ps.pageId,
|
||||||
event: ps.event,
|
event: ps.event,
|
||||||
var: ps.var,
|
var: ps.var,
|
||||||
|
|
Loading…
Reference in New Issue