From b1a18696cd1e2809a637866cd73f611f6bb6d7d4 Mon Sep 17 00:00:00 2001 From: "Renato \"Lond\" Cerqueira" Date: Wed, 23 Oct 2024 12:17:04 +0200 Subject: [PATCH] Add missing field --- app/api/entities/profile_info.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/entities/profile_info.rb b/app/api/entities/profile_info.rb index 22cbcd1..fd15dde 100644 --- a/app/api/entities/profile_info.rb +++ b/app/api/entities/profile_info.rb @@ -4,6 +4,7 @@ module API module Entities # Represents the profile info entity for the API class ProfileInfo < BasicProfileInfo + expose :birth_date, documentation: { type: Date } expose :about_me, documentation: { type: String } expose :genders, documentation: { type: String, is_array: true } expose :orientations, documentation: { type: String, is_array: true }