diff options
| author | Henry Jameson <me@hjkos.com> | 2019-01-11 03:38:23 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2019-01-11 03:38:23 +0300 |
| commit | b18e27c6d4d2b3d681be8dd81dafcdfeaf20fb35 (patch) | |
| tree | 7ed2f8c40a641941c048f4e4bc7ddf592c8fe4ef /src/modules/statuses.js | |
| parent | 48e811e6edc774affa3526e7a25df6bb07597c9d (diff) | |
fix tests, removed one unused function, fix real problem that tests helped to
surface
Diffstat (limited to 'src/modules/statuses.js')
| -rw-r--r-- | src/modules/statuses.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/modules/statuses.js b/src/modules/statuses.js index 05626a02..a931fd97 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -100,10 +100,6 @@ export const statusType = (status) => { return 'unknown' } -export const findMaxId = (...args) => { - return (maxBy(flatten(args), 'id') || {}).id -} - const mergeOrAdd = (arr, obj, item) => { // For sequential IDs BE passes numbers as numbers, we want them as strings. item.id = String(item.id) |
