Skip to content

Commit

Permalink
Update map.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
arily authored Jul 17, 2023
1 parent 9379941 commit c341319
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/backend/bancho.py/server/map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ export class MapProvider implements Base<Id> {
const beatmap = await this.db.map.findFirstOrThrow({
where: Number.isNaN(queryAsId)
? {
id: queryAsId,
md5: query,
}
: {
md5: query,
id: queryAsId,
},
include: {
source: true,
Expand Down

0 comments on commit c341319

Please sign in to comment.