Testing webhooks

This commit is contained in:
Donald Zou
2025-08-25 16:06:41 +08:00
parent f6e625c5f8
commit f360ef5d2f
5 changed files with 183 additions and 12 deletions

View File

@@ -444,7 +444,6 @@ class WireguardConfiguration:
existingPeers = conn.execute(self.peersTable.select()).mappings().fetchall()
for i in existingPeers:
tmpList.append(Peer(i, self))
self.Peers = []
self.Peers = tmpList
def addPeers(self, peers: list) -> tuple[bool, dict]: