socket/actions: Fix regular actions
This commit is contained in:
parent
10b93ddbe8
commit
a23aeb0f8b
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ func (sockets *Sockets) regularAction(a actions.WebsocketAction) (name string, a
|
|||
meta := a.Action()
|
||||
|
||||
return meta.Name, proto.Action{
|
||||
NumParams: meta.NumParams + 1,
|
||||
NumParams: meta.NumParams,
|
||||
Scope: meta.Scope,
|
||||
ScopeParam: meta.ScopeParam,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue