diff options
| author | marcin mikołajczak <git@mkljczk.pl> | 2022-02-13 19:07:49 +0100 |
|---|---|---|
| committer | marcin mikołajczak <git@mkljczk.pl> | 2022-02-13 19:11:14 +0100 |
| commit | 79d02bddbe2b77574844b8ade7a09043c31b1c6b (patch) | |
| tree | 7a8904bbf031ea8618eb7320d9129a13b1b181c0 /src/services/entity_normalizer/entity_normalizer.service.js | |
| parent | 8ade11783aa4740a2cff61f27938f3408c3e0eb0 (diff) | |
Birthdays
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'src/services/entity_normalizer/entity_normalizer.service.js')
| -rw-r--r-- | src/services/entity_normalizer/entity_normalizer.service.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/services/entity_normalizer/entity_normalizer.service.js b/src/services/entity_normalizer/entity_normalizer.service.js index 7025d803..86eb4c80 100644 --- a/src/services/entity_normalizer/entity_normalizer.service.js +++ b/src/services/entity_normalizer/entity_normalizer.service.js @@ -118,6 +118,8 @@ export const parseUser = (data) => { } else { output.role = 'member' } + + output.birthday = data.pleroma.birthday } if (data.source) { @@ -128,6 +130,7 @@ export const parseUser = (data) => { output.no_rich_text = data.source.pleroma.no_rich_text output.show_role = data.source.pleroma.show_role output.discoverable = data.source.pleroma.discoverable + output.show_birthday = data.pleroma.show_birthday } } |
