chore(filter): common filter for all providers

This commit is contained in:
Quentin McGaw
2022-04-18 17:06:57 +00:00
parent ac9571c6b2
commit f5c00c3e2d
54 changed files with 435 additions and 1571 deletions

View File

@@ -19,7 +19,7 @@ func (p *Privatevpn) GetConnection(selection settings.ServerSelection) (
port = *selection.OpenVPN.CustomPort
}
servers, err := p.filterServers(selection)
servers, err := utils.FilterServers(p.servers, selection)
if err != nil {
return connection, err
}