mirror of
https://github.com/Kir-Antipov/mc-publish.git
synced 2025-02-22 08:41:04 -05:00
Codestyle fix
This commit is contained in:
parent
38cc76ee30
commit
0d76fa5eef
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ export function getVersions(idOrSlug: string, loaders?: string[], gameVersions?:
|
||||||
}
|
}
|
||||||
|
|
||||||
const response = fetch(`${baseUrl}/project/${idOrSlug}/version?${urlParams}`, token ? {
|
const response = fetch(`${baseUrl}/project/${idOrSlug}/version?${urlParams}`, token ? {
|
||||||
headers: { "Authorization": token }
|
headers: { Authorization: token }
|
||||||
} : undefined);
|
} : undefined);
|
||||||
return processResponse(response, { 404: () => <ModrinthVersion[]>[] });
|
return processResponse(response, { 404: () => <ModrinthVersion[]>[] });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue