Revert "allow using targetOrgId parameter to set organisation ID for a request (#41561)" (#41643)

This reverts commit 08276225c1.
This commit is contained in:
Ieva
2021-11-12 13:23:16 +00:00
committed by GitHub
parent d91e2ff632
commit ba7d65edf5
2 changed files with 0 additions and 34 deletions

View File

@@ -105,10 +105,6 @@ func (h *ContextHandler) Middleware(mContext *web.Context) {
}
}
if targetOrgId := reqContext.QueryInt64("targetOrgId"); targetOrgId != 0 {
orgID = targetOrgId
}
// the order in which these are tested are important
// look for api key in Authorization header first
// then init session and look for userId in session