Codestyle fix

This commit is contained in:
Kir_Antipov 2022-06-07 16:12:20 +03:00
parent 38cc76ee30
commit 0d76fa5eef

View file

@ -63,7 +63,7 @@ export function getVersions(idOrSlug: string, loaders?: string[], gameVersions?:
}
const response = fetch(`${baseUrl}/project/${idOrSlug}/version?${urlParams}`, token ? {
headers: { "Authorization": token }
headers: { Authorization: token }
} : undefined);
return processResponse(response, { 404: () => <ModrinthVersion[]>[] });
}