mirror of
https://github.com/imputnet/cobalt.git
synced 2026-10-24 11:02:50 +00:00
api/match: fix localDisabled
accidentally left the old naming of the option here, typescript would've prevented this
This commit is contained in:
parent
40da8a46d6
commit
51a9680b39
1 changed files with 1 additions and 1 deletions
|
|
@ -314,7 +314,7 @@ export default async function({ host, patternMatch, params, authType }) {
|
|||
let localProcessing = params.localProcessing;
|
||||
const lpEnv = env.forceLocalProcessing;
|
||||
const shouldForceLocal = lpEnv === "always" || (lpEnv === "session" && authType === "session");
|
||||
const localDisabled = (!localProcessing || localProcessing === "none");
|
||||
const localDisabled = (!localProcessing || localProcessing === "disabled");
|
||||
|
||||
if (shouldForceLocal && localDisabled) {
|
||||
localProcessing = "preferred";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue