chore: reorder parameters in SendCmd function
🤖
This commit is contained in:
parent
e1984aca10
commit
a61da7d280
2 changed files with 6 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue