Open
Description
As per @sizzlemctwizzle comment from #1107 (comment) and #1107 (comment) :
... call the update method of libs/modifySessions.js to make sure the change is propagated in the session store.
This is followup for the perceived missing logic in that code section that was not there before the PR of #1108
NOTES:
- Missing
aReq
object to call existingmodifySessions.update
e.g. not in top level function signature. RepoManager.loadScripts
doesn't currently haveaReq
with a user in it on import scripts from GH (e.g. webhook won't be able to elevate using currentmodifySessions.update
)