From 438884e13ad2781d5c0ea65874649588ee0e64fb Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Tue, 7 Feb 2023 22:06:35 +0100 Subject: [PATCH] Add trailing commas (lint) --- lib/use_case/answer/pin.rb | 2 +- lib/use_case/answer/unpin.rb | 2 +- spec/lib/use_case/data_export/answers_spec.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/use_case/answer/pin.rb b/lib/use_case/answer/pin.rb index dd574e71..a14e8674 100644 --- a/lib/use_case/answer/pin.rb +++ b/lib/use_case/answer/pin.rb @@ -14,7 +14,7 @@ module UseCase { status: 200, - resource: answer + resource: answer, } end diff --git a/lib/use_case/answer/unpin.rb b/lib/use_case/answer/unpin.rb index ac945e63..f9553b8d 100644 --- a/lib/use_case/answer/unpin.rb +++ b/lib/use_case/answer/unpin.rb @@ -15,7 +15,7 @@ module UseCase { status: 200, - resource: nil + resource: nil, } end diff --git a/spec/lib/use_case/data_export/answers_spec.rb b/spec/lib/use_case/data_export/answers_spec.rb index 8298fbf1..99335a91 100644 --- a/spec/lib/use_case/data_export/answers_spec.rb +++ b/spec/lib/use_case/data_export/answers_spec.rb @@ -33,7 +33,7 @@ describe UseCase::DataExport::Answers, :data_export do created_at: "2022-12-10T13:37:42.000Z", updated_at: "2022-12-10T13:37:42.000Z", smile_count: 0, - pinned_at: nil + pinned_at: nil, } ] }