Skip to content

Commit

Permalink
[FIX] fix wrong auth method, we should keep the default one
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienbeau committed Sep 3, 2021
1 parent ebf1d2f commit 28a9c10
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions shopinvader/services/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def _get_all_schema(self):
@restapi.method(
[(["/", "/all"], "GET")],
output_param=restapi.CerberusValidator("_get_all_schema"),
auth="public",
)
def get_all(self):
return {
Expand Down Expand Up @@ -83,7 +82,6 @@ def _get_countries_schema(self):
@restapi.method(
[(["/countries"], "GET")],
output_param=restapi.CerberusValidator("_get_countries_schema"),
auth="public",
)
def countries(self):
return self._get_countries()
Expand Down Expand Up @@ -127,7 +125,6 @@ def _get_titles_schema(self):
@restapi.method(
[(["/titles"], "GET")],
output_param=restapi.CerberusValidator("_get_titles_schema"),
auth="public",
)
def titles(self):
return self._get_titles()
Expand Down Expand Up @@ -171,7 +168,6 @@ def _get_industries_schema(self):
@restapi.method(
[(["/industries"], "GET")],
output_param=restapi.CerberusValidator("_get_industries_schema"),
auth="public",
)
def industries(self):
return self._get_industries()
Expand Down Expand Up @@ -215,7 +211,6 @@ def _get_currencies_schema(self):
@restapi.method(
[(["/currencies"], "GET")],
output_param=restapi.CerberusValidator("_get_currencies_schema"),
auth="public",
)
def currencies(self):
return self._get_currencies()
Expand Down Expand Up @@ -265,7 +260,6 @@ def _get_languages_schema(self):
@restapi.method(
[(["/languages"], "GET")],
output_param=restapi.CerberusValidator("_get_languages_schema"),
auth="public",
)
def languages(self):
return self._get_languages()

0 comments on commit 28a9c10

Please sign in to comment.