diff options
| author | Sean King <seanking2919@protonmail.com> | 2022-08-01 18:45:52 -0600 |
|---|---|---|
| committer | Sean King <seanking2919@protonmail.com> | 2022-08-01 18:45:52 -0600 |
| commit | 232cc72df8352db15ac3e6b11c1f9c5908069771 (patch) | |
| tree | 63d4fabb3f447a3ddb22584aaaf6f892e4decf53 /src/services/entity_normalizer | |
| parent | 081aa0fd0552732f208bd35e37cde06c66536791 (diff) | |
Fix lint errors and warnings
Diffstat (limited to 'src/services/entity_normalizer')
| -rw-r--r-- | src/services/entity_normalizer/entity_normalizer.service.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/entity_normalizer/entity_normalizer.service.js b/src/services/entity_normalizer/entity_normalizer.service.js index c00e9796..c1b2ffac 100644 --- a/src/services/entity_normalizer/entity_normalizer.service.js +++ b/src/services/entity_normalizer/entity_normalizer.service.js @@ -378,7 +378,7 @@ export const parseStatus = (data) => { output.favoritedBy = [] output.rebloggedBy = [] - if (data.hasOwnProperty('originalStatus')) { + if (Object.prototype.hasOwnProperty.call(data, 'originalStatus')) { Object.assign(output, data.originalStatus) } |
