✏️ Fix typo

This commit is contained in:
2024-02-28 23:46:42 +01:00
parent d1ca8d5d4b
commit f5bdbca8ec

2
api.go
View File

@ -444,7 +444,7 @@ func onPortListChange() {
continue
}
jsonData, _ := json.Marshal(WebsocketResponse{
Type: "postListChange",
Type: "portListChange",
ResponseData: gin.H{"inputs": portConfig.Input, "outputs": portConfig.Output},
})
conn.WriteMessage(1, jsonData)