Skip to content

Commit a9de6ef

Browse files
author
Playfab Jenkins Bot
committed
Automated build from Jenkins
1 parent a4a9017 commit a9de6ef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

PlayFabSDK/PlayFabServerApi.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,12 @@ PlayFab.ServerApi = {
482482
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/UpdateSharedGroupData", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
483483
},
484484

485+
ExecuteCloudScript: function (request, callback) {
486+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
487+
488+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ExecuteCloudScript", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
489+
},
490+
485491
GetContentDownloadUrl: function (request, callback) {
486492
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
487493

0 commit comments

Comments
 (0)