open endpoints (#78559)
gitea/passerelle-imio-liege-lisrue/pipeline/head This commit looks good
Details
gitea/passerelle-imio-liege-lisrue/pipeline/head This commit looks good
Details
This commit is contained in:
parent
a7ba2ac4e8
commit
6fc1354a08
|
@ -61,7 +61,7 @@ class ImioLiegeLisrue(BaseResource):
|
|||
def get_connector_slug(cls):
|
||||
return "imio-liege-lisrue"
|
||||
|
||||
@endpoint()
|
||||
@endpoint(perm='OPEN')
|
||||
def voies(self, request, q=None, **kwargs):
|
||||
url = self.service_url
|
||||
if self.profile == "LIEGE_V2":
|
||||
|
@ -146,7 +146,7 @@ class ImioLiegeLisrue(BaseResource):
|
|||
)
|
||||
return {"data": streets}
|
||||
|
||||
@endpoint()
|
||||
@endpoint(perm='OPEN')
|
||||
def voies_namur(self, request, q=None, postCode=None, **kwargs):
|
||||
if q is None:
|
||||
return {"data": []}
|
||||
|
|
Loading…
Reference in New Issue