Skip to content

Commit

Permalink
feat: add :user_pias to serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
sylv-p committed Feb 17, 2022
1 parent 8708b0e commit d855420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/serializers/user_serializer.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class UserSerializer
include FastJsonapi::ObjectSerializer
attributes :id, :email, :firstname, :lastname
attributes :id, :email, :firstname, :lastname, :user_pias

attribute :access_type do |user|
data = []
Expand Down

0 comments on commit d855420

Please sign in to comment.