Skip to content

Commit

Permalink
remove function (#434)
Browse files Browse the repository at this point in the history
* feat: hide damages, adr and entries since faceit removed those from the endpoint used by the backend

* remove: useless function

---------

Co-authored-by: JustDams <noreply@github.com>
  • Loading branch information
JustDams and web-flow authored Oct 17, 2024
1 parent 92e14d8 commit 9702cc7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions database/guildCustomRole.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ const getAll = () => GuildCustomRole.find({}).exec()

const getOne = (guildId, roleId) => GuildCustomRole.findOne({ guildId: guildId, roleId: roleId }).exec()

const getOneWithElo = (guildId, roleId, eloMin, eloMax) => GuildCustomRole.findOne({ guildId, roleId, eloMin, eloMax }).exec()

const getRolesOf = (guildId) => GuildCustomRole.find({ guildId: guildId }).exec()

module.exports = {
Expand All @@ -34,6 +32,5 @@ module.exports = {
getOne,
getAll,
getRolesOf,
removeAll,
getOneWithElo
removeAll
}

0 comments on commit 9702cc7

Please sign in to comment.