From b452cdf9f9b36dd6330f20c8b5e9d6fb1335b844 Mon Sep 17 00:00:00 2001 From: oleghasjanov Date: Thu, 11 Apr 2024 08:39:27 +0300 Subject: [PATCH 1/2] 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 From fab50dfd2cef2685f7b204217c63cdaafb0828ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20V=C3=B5hmar?= Date: Thu, 11 Apr 2024 09:59:48 +0300 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cd6587ecb..c745a8d00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +11.04.2024 +* Added auction type to auctions api output https://github.com/internetee/auction_center/issues/1238 + 12.03.2024 * Removed captcha check from phone confirmation process https://github.com/internetee/auction_center/pull/1230