From b452cdf9f9b36dd6330f20c8b5e9d6fb1335b844 Mon Sep 17 00:00:00 2001 From: oleghasjanov Date: Thu, 11 Apr 2024 08:39:27 +0300 Subject: [PATCH] added auction type attribute in api response --- .gitignore | 3 ++- app/views/auctions/index.json.jbuilder | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5271d5e10..810d2cbe3 100644 --- a/.gitignore +++ b/.gitignore @@ -54,4 +54,5 @@ yarn-debug.log* /public/assets/ /public/assets/builds public/assets/builds/* -app/assets/builds/* \ No newline at end of file +app/assets/builds/* +.DS_Store \ No newline at end of file diff --git a/app/views/auctions/index.json.jbuilder b/app/views/auctions/index.json.jbuilder index 9f4885943..2c8ebbc4f 100644 --- a/app/views/auctions/index.json.jbuilder +++ b/app/views/auctions/index.json.jbuilder @@ -2,5 +2,6 @@ json.array! @auctions_list do |auction| json.domain_name auction.domain_name json.starts_at auction.starts_at.utc json.ends_at auction.ends_at.utc + json.auction_type auction&.platform json.id auction.uuid end