Update convertRawThreadInfoToClientDBThreadInfo and convertClientDBThreadInfoToRawThreadInfo to accomodate avatar field.
Details
Details
- Set breakpoints and logged output of both functions in my local environment.
- Made sure that we DON'T set avatar: null in RawThreadInfo if avatar is null on the SQLite side, we instead exclude it entirely.
Will also write some quick unit tests as a sanity check.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Branch
- master
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
lib/types/thread-types.js | ||
---|---|---|
305 | This was incorrect, ClientDB*Info types should only have (?)string/(?)number fields. |