@@ -127,7 +127,7 @@ async def session_context():
|
|||||||
# A marker named the project and the hook sent the remote beside it: look
|
# A marker named the project and the hook sent the remote beside it: look
|
||||||
# the remote up too, so a disagreement between the two can be said.
|
# the remote up too, so a disagreement between the two can be said.
|
||||||
repo_project_id = 0
|
repo_project_id = 0
|
||||||
if project_id and repo:
|
if request.args.get("project_id") and repo:
|
||||||
repo_project_id = await repo_bindings_svc.resolve_project(g.user.id, repo) or 0
|
repo_project_id = await repo_bindings_svc.resolve_project(g.user.id, repo) or 0
|
||||||
result = await plugin_ctx_svc.build_session_context(
|
result = await plugin_ctx_svc.build_session_context(
|
||||||
g.user.id, project_id, unbound_repo=unbound_repo,
|
g.user.id, project_id, unbound_repo=unbound_repo,
|
||||||
|
|||||||
Reference in New Issue
Block a user