cloudflare / node-cloudflare

Node.js API for Client API
https://cloudflare.github.io/node-cloudflare/
Other
335 stars 92 forks source link

Two read methods on ZoneWorkersScripts #51

Closed HeyITGuyFixIt closed 7 months ago

HeyITGuyFixIt commented 5 years ago

I was going through the docs and noticed that at ZoneWorkersScripts there are two read methods, the first taking just a zone ID, and the second taking a zone ID and a script. And there seems to be some additional typos in that section as well.

HeyITGuyFixIt commented 5 years ago

It is also deprecated in the Cloudflare API.

terinjokes commented 4 years ago

The Workers API has changed a lot, so there's "two" versions in the API. As for the documentation, it's currently generated from JSDoc blocks, and I suspect there's a copy and paste typo.

A PR is accepted to find and fix the typo.