Skip to content

Commit

Permalink
add start_date and end_date to assignments and requirements response
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiomagalhaes committed Mar 5, 2024
1 parent 663468f commit 91721da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/views/assignments/_assignment.json.jbuilder
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# frozen_string_literal: true

json.extract! assignment, :id, :coverage, :requirement_id, :created_at, :updated_at
json.url assignment_url(assignment, format: :json)
json.extract! assignment, :id, :coverage, :requirement_id, :created_at, :updated_at, :start_date, :end_date
3 changes: 2 additions & 1 deletion app/views/requirements/_requirement.json.jbuilder
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true

json.extract! requirement, :id, :profession_id, :statement_of_work_id, :coverage, :created_at, :updated_at
json.extract! requirement, :id, :profession_id, :statement_of_work_id, :coverage, :created_at, :updated_at, :start_date,
:end_date

0 comments on commit 91721da

Please sign in to comment.