changed to interface
This commit is contained in:
parent
2734446d60
commit
8ca68e7deb
@ -498,8 +498,8 @@ func (con Connection) RunCommand(ctx *gin.Context) {
|
||||
}
|
||||
|
||||
type Commands struct {
|
||||
CommandType string `json:"CommandType"`
|
||||
Arguments [4]any `json:"Arguments"`
|
||||
CommandType string `json:"CommandType"`
|
||||
Arguments [4]interface{} `json:"Arguments"`
|
||||
}
|
||||
|
||||
func (con Connection) AttachServer(ctx *gin.Context) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user