muety / wakapi

📊 A minimalist, self-hosted WakaTime-compatible backend for coding statistics

Home Page:https://wakapi.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WakaTime import downloads wrong file

anna-is-cute opened this issue · comments

commented

WakaTime offers both daily and heartbeat exports. When a user has generated both of these on the WakaTime settings page, Wakapi will only download the first one returned by the API, which is not necessarily the correct one. Wakapi should instead look for the object with "type": "heartbeats" in the returned array and use that one instead.

  • Wakapi version: 2.11.1
  • Docker
  • Database: sqlite