mirror of
https://github.com/packwiz/packwiz.git
synced 2025-04-19 21:16:30 +02:00
Make copy of API url to fix bug with multiple mods
This commit is contained in:
parent
94be8addc8
commit
8f9b08e3a4
@ -159,7 +159,7 @@ func getLatestVersion(modID string, pack core.Pack) (Version, error) {
|
||||
|
||||
loader := getLoader(pack)
|
||||
|
||||
baseUrl := modrinthApiUrlParsed
|
||||
baseUrl := *modrinthApiUrlParsed
|
||||
baseUrl.Path += "mod/"
|
||||
baseUrl.Path += modID
|
||||
baseUrl.Path += "/version"
|
||||
|
Loading…
x
Reference in New Issue
Block a user