Skip to content

Commit 3b142f8

Browse files
author
Playfab Jenkins Bot
committed
Automated build from Jenkins
1 parent caa0e4d commit 3b142f8

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
@@ -344,6 +344,12 @@ PlayFab.ServerApi = {
344344
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/ReportPlayer", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
345345
},
346346

347+
RevokeInventoryItem: function (request, callback) {
348+
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
349+
350+
PlayFab._internalSettings.ExecuteRequest(PlayFab._internalSettings.GetServerUrl() + "/Server/RevokeInventoryItem", request, "X-SecretKey", PlayFab.settings.developerSecretKey, callback);
351+
},
352+
347353
SubtractCharacterVirtualCurrency: function (request, callback) {
348354
if (PlayFab.settings.developerSecretKey == null) throw "Must have PlayFab.settings.developerSecretKey set to call this method";
349355

0 commit comments

Comments
 (0)