make locate still work (only using wifi_peers for now)
This commit is contained in:
parent
31c7dad72f
commit
35d030a6fd
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class PositioningResult(BaseSchema):
|
||||||
response={200: PositioningResult, **auth_responses})
|
response={200: PositioningResult, **auth_responses})
|
||||||
def get_position(request, parameters: LocateRequestSchema):
|
def get_position(request, parameters: LocateRequestSchema):
|
||||||
try:
|
try:
|
||||||
location = Locator.load().locate(parameters.dict()["peers"],
|
location = Locator.load().locate(parameters.dict()["wifi_peers"],
|
||||||
permissions=AccessPermission.get_for_request(request))
|
permissions=AccessPermission.get_for_request(request))
|
||||||
if location is not None:
|
if location is not None:
|
||||||
# todo: this will overload us probably, group these
|
# todo: this will overload us probably, group these
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue