upstash / qstash-js

Message queue for serverless
https://docs.upstash.com/qstash
MIT License
158 stars 15 forks source link

Logs method is not working #41

Closed bastienrobert closed 1 year ago

bastienrobert commented 1 year ago

The logs method in the client is not working: https://github.com/upstash/sdk-qstash-ts/blob/main/pkg/client/client.ts#L306-L311

It looks like the /v1/logs endpoints doesn't exists anymore. Maybe it has been renamed tasks?

chronark commented 1 year ago

ah, good catch it's /v1/events

I'll work on a few of these issues next week

bastienrobert commented 1 year ago

Wow, that's a quick answer :o Thanks!

chronark commented 1 year ago

v2 has this fixed

 qstash.events(req?: EventsRequest): Promise<GetEventsResponse>