Fix bug in the test creation workflow

This commit is contained in:
Arturo Filastò 2018-09-07 14:06:08 +02:00
commit dabbdc15d2
3 changed files with 17 additions and 1 deletions

View file

@ -170,6 +170,8 @@ func CreateNetwork(sess sqlbuilder.Database, location *utils.LocationInfo) (*Net
ASN: location.ASN,
CountryCode: location.CountryCode,
NetworkName: location.NetworkName,
// On desktop we consider it to always be wifi
NetworkType: "wifi",
IP: location.IP,
}
newID, err := sess.Collection("networks").Insert(network)