Return value from validation
This commit is contained in:
parent
ece2bca831
commit
858aabb5ba
3 changed files with 1 additions and 8 deletions
|
|
@ -7,8 +7,6 @@ from .tasks import *
|
|||
@transaction.atomic
|
||||
def create_wireguard_vpn(owner, public_key, network_mask):
|
||||
|
||||
|
||||
|
||||
pool = get_suitable_pools(network_mask)[0]
|
||||
count = pool.wireguardvpn_set.count()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue