Closed mre closed 1 year ago
All tests pass for me, except for two unrelated analytics tests, which also fail in main
. 🤔
I've addressed the feedback so far (thx!). If you have time, we can do another round of feedback. 😃
I do not like switch statements ;) https://javascript.plainenglish.io/why-you-should-avoid-switch-statements-in-javascript-ce07d5b60da4
Moved to if-conditions. 👍
@woolfg, tested the API, and it works and stores the correct data locally. Can you have another look?