Skip to content

Commit

Permalink
feat: add serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
sylv-p committed Jan 20, 2022
1 parent 2f2ae2c commit 12d6e90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/serializers/pia_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ class PiaSerializer
:structure_name,
:structure_sector_name,
:structure_data,
:category
:category,
:progress

attribute :is_archive do |pia|
pia.is_archive ? 1 : 0
Expand Down

0 comments on commit 12d6e90

Please sign in to comment.