mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-26 01:17:00 +02: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)
|
||||
? val!.split(/:(.+)/).filter(Boolean)
|
||||
: [val]
|
||||
).map((s) => s.trim()),
|
||||
).map((s) => s?.trim() || ''),
|
||||
);
|
||||
const baseSubQuery = createBaseQuery(values);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user