Refactor and updated api user serializer

This commit is contained in:
Sergei Tsoganov 2023-05-30 13:21:29 +03:00
parent b48c22f6f3
commit bf3d971d7c
3 changed files with 20 additions and 15 deletions

View file

@ -21,6 +21,8 @@ module Serializers
accreditation_expire_date: obj.accreditation_expire_date,
created_at: obj.created_at,
updated_at: obj.updated_at,
creator: obj.creator_str,
updator: obj.updator_str,
}
json[:certificates] = certificates
json