fix location details api
This commit is contained in:
parent
b4fe83b453
commit
5f21f4ce6d
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ class LocationViewSetBase(RetrieveModelMixin, GenericViewSet):
|
|||
|
||||
@detail_route(methods=['get'])
|
||||
@api_etag()
|
||||
def display(self, request, key=None):
|
||||
def display(self, request, **kwargs):
|
||||
location = self.get_object()
|
||||
|
||||
if location is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue