@mtgame/core 0.0.40 → 0.0.41

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.
@@ -2298,6 +2298,15 @@ var FeedbackApi = /** @class */ (function () {
2298
2298
  });
2299
2299
  });
2300
2300
  };
2301
+ FeedbackApi.prototype.sendLeagueFeedback = function (leagueId, data) {
2302
+ return __awaiter(this, void 0, void 0, function () {
2303
+ return __generator(this, function (_a) {
2304
+ return [2 /*return*/, this.httpClient.post(this.configService.get('apiUrl') + "/api/v1/league/" + leagueId + "/feedback/", Feedback.toBack(data))
2305
+ .pipe(map(function (response) { return Feedback.toFront(response); }))
2306
+ .toPromise()];
2307
+ });
2308
+ });
2309
+ };
2301
2310
  FeedbackApi.ctorParameters = function () { return [
2302
2311
  { type: HttpClient },
2303
2312
  { type: ConfigService }