0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-16 06:51:46 +01:00
This commit is contained in:
Luke Barnard 2017-03-13 16:45:38 +00:00
parent c81f33f73d
commit c077c3277b

View file

@ -45,6 +45,7 @@ class DevicesRestServlet(servlet.RestServlet):
)
defer.returnValue((200, {"devices": devices}))
class DeleteDevicesRestServlet(servlet.RestServlet):
PATTERNS = client_v2_patterns("/delete_devices", releases=[], v2_alpha=False)
@ -92,6 +93,7 @@ class DeleteDevicesRestServlet(servlet.RestServlet):
)
defer.returnValue((200, {}))
class DeviceRestServlet(servlet.RestServlet):
PATTERNS = client_v2_patterns("/devices/(?P<device_id>[^/]*)$",
releases=[], v2_alpha=False)