mirror of
https://github.com/pi-hole/FTL.git
synced 2025-12-24 15:58:25 +00:00
Rename /api/ftl/endpoints -> /api/endpoints
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
@@ -136,7 +136,7 @@ class FTLAPI():
|
||||
def get_endpoints(self):
|
||||
try:
|
||||
# Get all endpoints from FTL and sort them for comparison
|
||||
response = self.GET("/api/ftl/endpoints")
|
||||
response = self.GET("/api/endpoints")
|
||||
for method in response["endpoints"]:
|
||||
for endpoint in response["endpoints"][method]:
|
||||
self.endpoints[method].append(endpoint["uri"] + endpoint["parameters"])
|
||||
|
||||
Reference in New Issue
Block a user