[api] fix a missing line on /lastevents call