mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2025-06-15 15:36:06 +00:00
Delete unused param (#935)
This commit is contained in:

committed by
GitHub

parent
af99fa4f6b
commit
486ffebedd
@ -86,7 +86,7 @@ func (a *AdminSocket) Init(c *core.Core, nc *config.NodeConfig, log *log.Logger,
|
||||
return a.core.SetAdmin(a)
|
||||
}
|
||||
|
||||
func (a *AdminSocket) SetupAdminHandlers(na *AdminSocket) {
|
||||
func (a *AdminSocket) SetupAdminHandlers() {
|
||||
_ = a.AddHandler("getSelf", []string{}, func(in json.RawMessage) (interface{}, error) {
|
||||
req := &GetSelfRequest{}
|
||||
res := &GetSelfResponse{}
|
||||
|
Reference in New Issue
Block a user