fix swagger
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 40s

This commit is contained in:
Lee 2024-10-23 16:19:29 +01:00
parent 1bc2b35ec0
commit 55b9f0e4ef
2 changed files with 9 additions and 1 deletions

@ -174,6 +174,14 @@ app.use(
version: await getAppVersion(), version: await getAppVersion(),
}, },
}, },
scalarConfig: {
servers: [
{
url: "https://ssr.fascinated.cc/api",
description: "Production server",
},
],
},
}) })
); );

@ -38,7 +38,7 @@ export default class BeatSaverService {
const newMapData: BeatSaverMap = const newMapData: BeatSaverMap =
token && uploader && metadata token && uploader && metadata
? { ? {
_id: hash, _id: hash, // todo: change this to an incrementing id
bsr: token.id, bsr: token.id,
name: token.name, name: token.name,
description: token.description, description: token.description,