diff --git a/framework/core/js/src/common/Store.ts b/framework/core/js/src/common/Store.ts index 57f7320d7..d4a7785a5 100644 --- a/framework/core/js/src/common/Store.ts +++ b/framework/core/js/src/common/Store.ts @@ -175,14 +175,12 @@ export default class Store { return app .request ? ApiPayloadPlural : ApiPayloadSingle>( - Object.assign( - { - method: 'GET', - url, - params, - }, - options - ) + { + method: 'GET', + url, + params, + ...options, + } ) .then((payload) => { if (payloadIsPlural(payload)) {