mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
fix: s is possibly null (#9578)
Fixes an issue where s was possibly null and Unleash would not build after turning on strictNullChecks.
This commit is contained in:
parent
cf91852234
commit
d437fc7bdd
@ -711,7 +711,7 @@ const applyMultiQueryParams = (
|
|||||||
(Array.isArray(fields)
|
(Array.isArray(fields)
|
||||||
? val!.split(/:(.+)/).filter(Boolean)
|
? val!.split(/:(.+)/).filter(Boolean)
|
||||||
: [val]
|
: [val]
|
||||||
).map((s) => s.trim()),
|
).map((s) => s?.trim() || ''),
|
||||||
);
|
);
|
||||||
const baseSubQuery = createBaseQuery(values);
|
const baseSubQuery = createBaseQuery(values);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user