diff options
| author | taehoon <th.dev91@gmail.com> | 2019-05-22 23:47:20 -0400 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-05-22 23:47:20 -0400 |
| commit | 2af35b84044a93d19b4d6378e6f5695bde867be1 (patch) | |
| tree | 7fe2439b2bc41452cb5fa8ce6a55d1ece9b98536 /src | |
| parent | 45961331b6e2dc0eadc1268e3a113f5ef1834adb (diff) | |
do not miss statusnet_profile_url of mentions
Diffstat (limited to 'src')
| -rw-r--r-- | src/services/entity_normalizer/entity_normalizer.service.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/services/entity_normalizer/entity_normalizer.service.js b/src/services/entity_normalizer/entity_normalizer.service.js index 46ca7602..efff23d1 100644 --- a/src/services/entity_normalizer/entity_normalizer.service.js +++ b/src/services/entity_normalizer/entity_normalizer.service.js @@ -33,6 +33,7 @@ export const parseUser = (data) => { if (masto) { output.screen_name = data.acct + output.statusnet_profile_url = data.url // There's nothing else to get if (mastoShort) { @@ -56,8 +57,6 @@ export const parseUser = (data) => { output.bot = data.bot - output.statusnet_profile_url = data.url - if (data.pleroma) { const relationship = data.pleroma.relationship |
