upstash / qstash-js

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

Method Not Allowed - Problem using v2 #58

Closed fmoessle closed 9 months ago

fmoessle commented 9 months ago

Hi!

I am trying to upgrade to v2 using the npm package "@upstash/qstash": "2.1.6"

I want to add an endPoint to an existing topic but I only get: Method Not Allowed

await qstash.topics.addEndpoints({
  endpoints: [{ url: `http://test.com` }],
  name: 'name_of_my_endpoint',
})

It seems no documentation for v2 npm package exists?

chronark commented 9 months ago

whoops, releasing v2.1.7 right now