@proofchain/sdk 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1455,7 +1455,7 @@ var QuestsClient = class {
|
|
|
1455
1455
|
* Start a quest for a user
|
|
1456
1456
|
*/
|
|
1457
1457
|
async startQuest(questId, userId) {
|
|
1458
|
-
return this.http.post(`/quests/${questId}/start`, {
|
|
1458
|
+
return this.http.post(`/quests/${questId}/start?user_id=${encodeURIComponent(userId)}`, {});
|
|
1459
1459
|
}
|
|
1460
1460
|
/**
|
|
1461
1461
|
* Get user's progress on a quest
|
package/dist/index.mjs
CHANGED
|
@@ -1403,7 +1403,7 @@ var QuestsClient = class {
|
|
|
1403
1403
|
* Start a quest for a user
|
|
1404
1404
|
*/
|
|
1405
1405
|
async startQuest(questId, userId) {
|
|
1406
|
-
return this.http.post(`/quests/${questId}/start`, {
|
|
1406
|
+
return this.http.post(`/quests/${questId}/start?user_id=${encodeURIComponent(userId)}`, {});
|
|
1407
1407
|
}
|
|
1408
1408
|
/**
|
|
1409
1409
|
* Get user's progress on a quest
|
package/package.json
CHANGED