1
0
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:
Fredrik Strand Oseberg 2025-03-19 10:50:54 +01:00 committed by GitHub
parent cf91852234
commit d437fc7bdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);