Browse Source

* Fixes #24 - ID was not fetched after insert.

pull/29/head
Per-Arne Andersen 5 years ago
parent
commit
99bdc54517
  1. 1
      wg_dashboard_backend/routers/v1/peer.py

1
wg_dashboard_backend/routers/v1/peer.py

@ -62,6 +62,7 @@ def add_peer(
))
peer.sync(sess)
peer.from_db(sess)
# If server is running. Add peer
if script.wireguard.is_running(server):

Loading…
Cancel
Save