FujoWebDev / AO3.js

NodeJS API for scraping AO3 data
MIT License
15 stars 8 forks source link

Change workId and chapterId type to number #35

Open riazaia opened 2 years ago

riazaia commented 2 years ago

The function that grabs the workId, chapterId and collectionName defines all three as strings. The first two should be numbers.

All the tests use workId and sometimes chapterId as a parameter so those need to be updated.

workId should also be updated on the WorkSummary interface.