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.
1 parent 62ea4ea commit a614212Copy full SHA for a614212
src/services/challenges.js
@@ -453,6 +453,18 @@ class ChallengesService {
453
});
454
}
455
456
+ /**
457
+ * Gets marathon matches of the specified user.
458
+ * @param {String} username User whose challenges we want to fetch.
459
+ * @param {Object} filters Optional.
460
+ * @param {Number} params Optional.
461
+ * @return {Promise} Resolves to the api response.
462
+ */
463
+ getUserMarathonMatches(username, filters, params) {
464
+ const endpoint = `/members/${username.toLowerCase()}/mms/`;
465
+ return this.private.getChallenges(endpoint, filters, params);
466
+ }
467
+
468
469
/**
470
* Gets SRM matches related to the user.
0 commit comments