Skip to content

Commit

Permalink
Добавил коментов
Browse files Browse the repository at this point in the history
  • Loading branch information
artem12345-png authored Dec 19, 2024
1 parent 7bdfcaa commit 6c714bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions superset/views/users/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def put_onboarding(self):
}
return self.response(200, result=user_response_schema.dump(result))

@expose("/team", ("GET",))
@expose("/team", ("GET",)) # текущая команда пользователя
def my_team(self):
try:
user = g.user
Expand All @@ -197,7 +197,7 @@ def my_team(self):
result["team"] = None
return self.response(200, result=user_response_schema.dump(result))

@expose("/statements", ("GET",))
@expose("/statements", ("GET",)) # все заявки пользователя
def my_statements(self):
try:
user = g.user
Expand All @@ -220,7 +220,7 @@ def my_statements(self):
result["statements"] = None
return self.response(200, result=user_response_schema.dump(result))

@expose("/country", ("GET",))
@expose("/country", ("GET",)) # страна пользователя, получаем в профиле
def my_country(self):
try:
user = g.user
Expand Down

0 comments on commit 6c714bc

Please sign in to comment.