(userId, activityName, activity)
| 132 | } |
| 133 | |
| 134 | function writeActivityToCache (userId, activityName, activity) { |
| 135 | const key = getActivityStatusCacheKey(userId) |
| 136 | const cache = readActivityStatusCache(userId) |
| 137 | cache[activityName] = activity |
| 138 | localStorage.save(key, cache, 0) |
| 139 | } |
| 140 | |
| 141 | function clearActivityStatusCache (userId, { prefix } = {}) { |
| 142 | const key = getActivityStatusCacheKey(userId) |
nothing calls this directly
no test coverage detected