Skip to content

Commit 51a9680

Browse files
committed
api/match: fix localDisabled
accidentally left the old naming of the option here, typescript would've prevented this
1 parent 40da8a4 commit 51a9680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/processing/match.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ export default async function({ host, patternMatch, params, authType }) {
314314
let localProcessing = params.localProcessing;
315315
const lpEnv = env.forceLocalProcessing;
316316
const shouldForceLocal = lpEnv === "always" || (lpEnv === "session" && authType === "session");
317-
const localDisabled = (!localProcessing || localProcessing === "none");
317+
const localDisabled = (!localProcessing || localProcessing === "disabled");
318318

319319
if (shouldForceLocal && localDisabled) {
320320
localProcessing = "preferred";

0 commit comments

Comments
 (0)