diff --git a/projects/backend/src/index.ts b/projects/backend/src/index.ts index e2ce126..575d649 100644 --- a/projects/backend/src/index.ts +++ b/projects/backend/src/index.ts @@ -174,6 +174,14 @@ app.use( version: await getAppVersion(), }, }, + scalarConfig: { + servers: [ + { + url: "https://ssr.fascinated.cc/api", + description: "Production server", + }, + ], + }, }) ); diff --git a/projects/backend/src/service/beatsaver.service.ts b/projects/backend/src/service/beatsaver.service.ts index de7cbbf..fac7023 100644 --- a/projects/backend/src/service/beatsaver.service.ts +++ b/projects/backend/src/service/beatsaver.service.ts @@ -38,7 +38,7 @@ export default class BeatSaverService { const newMapData: BeatSaverMap = token && uploader && metadata ? { - _id: hash, + _id: hash, // todo: change this to an incrementing id bsr: token.id, name: token.name, description: token.description,