🎨 Make API responses more consistent
This commit is contained in:
@ -34,8 +34,8 @@ type Port struct {
|
||||
}
|
||||
|
||||
var portConfig struct {
|
||||
Input []Port `json:"input"`
|
||||
Output []Port `json:"output"`
|
||||
Input []Port `json:"inputs"`
|
||||
Output []Port `json:"outputs"`
|
||||
}
|
||||
|
||||
var portsInited bool = false
|
||||
|
Reference in New Issue
Block a user