From 8ca68e7deb4dc60fc8daa93f35b2e3d31f923510 Mon Sep 17 00:00:00 2001 From: ACoolName Date: Tue, 28 May 2024 00:10:46 +0300 Subject: [PATCH] changed to interface --- servers/servers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/servers.go b/servers/servers.go index 69a2379..7bfb4aa 100644 --- a/servers/servers.go +++ b/servers/servers.go @@ -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) {