Return getting_started_info in users.get_current_user

This commit is contained in:
allegroai
2022-07-08 17:45:33 +03:00
parent 3a60f00d93
commit c18eb99d06
3 changed files with 18 additions and 1 deletions

View File

@@ -113,7 +113,10 @@ def get_current_user(call: APICall, company_id, _):
user = res[0]
user["role"] = call.identity.role
resp = {"user": user}
resp = {
"user": user,
"getting_started": config.get("apiserver.getting_started_info", None),
}
call.result.data = resp