From 25a6fc2beea636077a8193b5dfce486151b5e889 Mon Sep 17 00:00:00 2001 From: Max Kovalenko Date: Thu, 6 Feb 2020 12:16:35 +0300 Subject: [PATCH] get cards response hotfix --- App/AL/Controller/Card/CardController.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/App/AL/Controller/Card/CardController.cs b/App/AL/Controller/Card/CardController.cs index 6410d5a..ff4a3b7 100644 --- a/App/AL/Controller/Card/CardController.cs +++ b/App/AL/Controller/Card/CardController.cs @@ -41,9 +41,7 @@ public CardController() { var pageSize = 25; return HttpResponse.Data(new JObject() { - ["data"] = new JObject() { - ["cards"] = new CardTransformer().Many(column.Cards(page, pageSize)) - }, + ["cards"] = new CardTransformer().Many(column.Cards(page, pageSize)), ["meta"] = new JObject() { ["pages_count"] = (column.CardsCount() / pageSize)+1, ["current_page"] = page