X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fhtml_out.py;h=a8823bd0355980d15bdb3b7595770236472431e4;hp=1883a9685babe86e5453f9f6456b8cb75f6e24c6;hb=19ee3b009a324217eace4684af72f4344655592e;hpb=e1eb3b2c0bdb7462d330703702677b3354ceb9ff;ds=sidebyside diff --git a/osm_nbi/html_out.py b/osm_nbi/html_out.py index 1883a96..a8823bd 100644 --- a/osm_nbi/html_out.py +++ b/osm_nbi/html_out.py @@ -186,7 +186,7 @@ def format(data, request, response, toke_info): if toke_info.get("username"): user_text += "user: {}".format(toke_info.get("username")) if toke_info.get("project_id"): - user_text += ", project: {}".format(toke_info.get("project_id")) + user_text += ", project: {}".format(toke_info.get("project_name")) return html_start.format(user_text) + body + html_end # yaml.safe_dump(data, explicit_start=True, indent=4, default_flow_style=False) # tags=False,