We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
WSC_RPC_API_URL
1 parent 71b73a9 commit 7eba360Copy full SHA for 7eba360
docs/javascript/components_rpc_api.md
@@ -29,7 +29,7 @@ export async function renderComment(
29
objectTypeId: number | undefined = undefined
30
): Promise<ApiResult<Response>> {
31
const url = new URL(
32
- `${window.WSC_API_URL}index.php?api/rpc/core/comments/${commentId}/render`
+ `${window.WSC_RPC_API_URL}core/comments/${commentId}/render`
33
);
34
url.searchParams.set("messageOnly", messageOnly.toString());
35
if (responseId !== undefined) {
0 commit comments