This PR is an attempt to fix import error when data[0] type is url
Error message: msg=json decoding failed: "Error in $.data[0].type: Value can only be one of ['file', 'app', 'domain']"
If we look at the docs, we'll see that is correct. However Wakatime Chrome plugin also sends url type. It is now missing in the docs.
Here is an example:
I am not a haskell developer. That's why not quite sure if these changes are correct.
I'll try to build an image and check if everything is working.
UPD. It now works great. However, I had to update ubuntu image for Dockerfile.arm up to 21.04 version.
This PR is an attempt to fix import error when data[0] type is
url
Error message:msg=json decoding failed: "Error in $.data[0].type: Value can only be one of ['file', 'app', 'domain']"
If we look at the docs, we'll see that is correct. However Wakatime Chrome plugin also sends
url
type. It is now missing in the docs. Here is an example:I am not a haskell developer. That's why not quite sure if these changes are correct.
I'll try to build an image and check if everything is working.UPD. It now works great. However, I had to update ubuntu image for Dockerfile.arm up to 21.04 version.