Skip to content

Commit

Permalink
toScriptValue
Browse files Browse the repository at this point in the history
  • Loading branch information
ComLock committed Dec 13, 2024
1 parent c799be6 commit 508a698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/lib/enonic/react4xp/serviceUrl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function serviceUrl({
const bean: ServiceUrlBuilder = __.newBean('com.enonic.lib.react4xp.url.ServiceUrlBuilder');

bean.setApplication(application);
bean.setParams(params);
bean.setParams(__.toScriptValue(params ?? {}));
bean.setPath(path);
bean.setType(type);
bean.setServiceName(service);
Expand Down

0 comments on commit 508a698

Please sign in to comment.