✏️ Fix typo
This commit is contained in:
2
api.go
2
api.go
@ -444,7 +444,7 @@ func onPortListChange() {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
jsonData, _ := json.Marshal(WebsocketResponse{
|
jsonData, _ := json.Marshal(WebsocketResponse{
|
||||||
Type: "postListChange",
|
Type: "portListChange",
|
||||||
ResponseData: gin.H{"inputs": portConfig.Input, "outputs": portConfig.Output},
|
ResponseData: gin.H{"inputs": portConfig.Input, "outputs": portConfig.Output},
|
||||||
})
|
})
|
||||||
conn.WriteMessage(1, jsonData)
|
conn.WriteMessage(1, jsonData)
|
||||||
|
Reference in New Issue
Block a user