maradotwebp / pax

📦 The MC modpack manager for professionals.
https://github.com/froehlichA/pax/releases/latest
MIT License
161 stars 4 forks source link

CfApi slug not found #72

Closed strawberrybeach closed 2 years ago

strawberrybeach commented 2 years ago

The following does not work

pax add https://www.curseforge.com/minecraft/mc-mods/oh-the-biomes-youll-go-fabric/files/3775364
[:] Loading data from manifest..
[:] Searching for mod..
cfapi.nim(61)            fetchAddonIter
asyncfutures.nim(389)    read
asyncfutures.nim(389)    read
Error: unhandled exception: addon with slug 'oh-the-biomes-youll-go-fabric' not found [CfApiError]

Using the project id and file id does work

pax add 391378#3775364
[:] Loading data from manifest..
[:] Searching for mod..
[:] Found mod Oh The Biomes You'll Go Refabricated.

Don't really know if this is a big issue as fortunately project id and file id works, but strange that it doesn't recognize the slug in the url.

maradotwebp commented 2 years ago

K, I'll take a look at this.

maradotwebp commented 2 years ago

fixed in https://github.com/froehlichA/pax/releases/tag/v1.9.11 ^^