fix: ensure we don't have a nested array-like object with the data

This commit is contained in:
Derrick Hammer 2024-03-26 11:45:37 -04:00
parent f85bd2b728
commit a91b58924b
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 2 deletions

View File

@ -34,12 +34,12 @@ export function optionsToConfig(
config.baseURL = client.portalUrl;
const extraOptions = options.reduce((acc, val) => {
const extraOptions= Object.values(options.reduce((acc, val) => {
return {
...acc,
...val,
};
}, options);
}, options)).pop();
const finalOptions = {
...def,