fix swagger
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 40s
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 40s
This commit is contained in:
parent
1bc2b35ec0
commit
55b9f0e4ef
@ -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,
|
||||||
|
Reference in New Issue
Block a user