rm empty strings from services in nodeinfo (#1924)

This commit is contained in:
Meisam 2022-05-24 18:57:38 +02:00 committed by GitHub
parent 10cdf3d9b8
commit 32ac156588
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,8 +99,8 @@ func NodeInfoV2Controller(w http.ResponseWriter, r *http.Request) {
res := response{ res := response{
Version: "2.0", Version: "2.0",
Services: services{ Services: services{
Inbound: []string{""}, Inbound: []string{},
Outbound: []string{""}, Outbound: []string{},
}, },
Software: software{ Software: software{
Name: "owncast", Name: "owncast",