Skip to content

Commit

Permalink
remove intermediate variable (#10496)
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s committed Sep 4, 2024
1 parent 1a47298 commit d98ebbd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions services/modrinth/modrinth-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) {
Expand Down

0 comments on commit d98ebbd

Please sign in to comment.