remove intermediate variable (#10496)

This commit is contained in:
chris48s
2024-09-04 05:03:34 +01:00
committed by GitHub
parent 1a472982ed
commit d98ebbd883

View File

@@ -21,11 +21,10 @@ const description =
class BaseModrinthService extends BaseJsonService {
async fetchVersions({ projectId }) {
const bruh = {
return this._requestJson({
schema: versionSchema,
url: `https://api.modrinth.com/v2/project/${projectId}/version`,
}
return this._requestJson(bruh)
})
}
async fetchProject({ projectId }) {