linh.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This is a Mastodon instance run exclusively for personal use only.

Administered by:

Server stats:

10
active users

Linh Pham

I've been working on getting my Stats API to work with 2 and was wondering why it was erroring out on one specific endpoint.

Turns out, it was a bug I introduced back when I was trying to optimize the `wwdtm` library and, if there was no data returned from a query, the key would be set to an empty list.

The problem? It's supposed to be an empty dictionary.

I had typed `[]` instead of `{}`.

😒😒😒