chore: reorder parameters in SendCmd function

🤖
This commit is contained in:
Sebastian Mark 2024-10-23 13:18:33 +02:00
parent e1984aca10
commit a61da7d280
2 changed files with 6 additions and 6 deletions

View file

@ -23,7 +23,7 @@ func sendClientCommand(conn *websocket.Conn, msg models.ClientCommand) {
}
}
func SendCmd(conn *websocket.Conn, cmd string, pwd string) {
func SendCmd(conn *websocket.Conn, pwd string, cmd string) {
message := models.ClientCommand{
Command: cmd,
Password: pwd,