Custom name for ConnectedDeviceViewSet
This commit is contained in:
parent
6cb36a6cee
commit
122526a9d0
|
|
@ -326,6 +326,9 @@ class ConnectedDeviceViewSet(ViewSet):
|
|||
"""
|
||||
permission_classes = [IsAuthenticated]
|
||||
|
||||
def get_view_name(self):
|
||||
return "Connected Device Locator"
|
||||
|
||||
def list(self, request):
|
||||
|
||||
peer_device_name = request.query_params.get('peer-device')
|
||||
|
|
|
|||
Loading…
Reference in New Issue